#050430

A color in the Violet family

#050430 is a color in the Violet family: RGB(5, 4, 48), HSL(241°, 85%, 10%), CMYK(90%, 92%, 0%, 81%). Closest named color: midnightblue. Contrast is 19.69:1 on white and 1.07:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#050430
RGBrgb(5 4 48)
RGB (legacy)rgb(5, 4, 48)
RGB %rgb(2% 2% 19%)
HSLhsl(241 85% 10%)
HSV / HSBhsv(241, 92%, 19%)
HWBhwb(241 2% 81%)
CMYKcmyk(90%, 92%, 0%, 81%)
CIELAB (D50)lab(2.71 9.96 -26.8)
LCHlch(2.71 28.59 290.38)
OKLaboklab(0.1578 0.0035 -0.085)
OKLCHoklch(0.1578 0.0851 272.38)
Decimal328752

Properties

Color ToneViolet
Closest named colormidnightblue ΔE 14.3
Closest web-safe color#000033
Hue241°
Saturation (HSL / HSV)85% / 92%
Lightness (HSL)10%
Brightness or Value (HSV)19%
Luminance (Rec.601 / Rec.709)4% / 3%
Relative luminance (WCAG)0.0033
Red / Green / Blue5 / 4 / 48

WCAG 2.2 Contrast Ratio

On White (#ffffff)
19.69:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.07:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 105.4 / 0 · As background with white / black text: Lc -107.4 / 0

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #050430;
  --color-brand-oklch: oklch(15.78% 0.0851 272.38);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(5 4 48 / 50%); }
/* Tailwind CSS */
<div class="bg-[#050430] text-[#050430] border-[#050430]">