#1E052F#1E052F

#1E052F is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.1% C 0.081 H 307.9°. Best body text is #FFFFFF at 18.78:1 contrast (WCAG AA passes).

Color values

HEX#1E052F
RGBrgb(30, 5, 47)
HSLhsl(276, 81%, 10%)
HSVhsv(276, 89%, 18%)
CMYKcmyk(36.2%, 89.4%, 0%, 81.6%)
CIE-LABlab(5.33, 21.26, -21.87)
CIE-LCHlch(5.33, 30.50, 314.19°)
OKLaboklab(19.1% 0.0497 -0.0639)
OKLCHoklch(19.1% 0.081 307.9)
XYZxyz(1.1027, 0.5898, 2.7445)
Luminance0.0059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E052F #162F05
analogous
#09052F #1E052F #2F052B
triadic
#1E052F #2F1E05 #052F1E
tetradic
#1E052F #2F0905 #162F05 #052B2F
square
#1E052F #2F0905 #162F05 #052B2F
split-complementary
#1E052F #2B2F05 #052F09
monochromatic
#12031C #12031C #1E052F #410B66 #65119E

Accessibility & contrast

On white

18.78
#1E052F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#1E052F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E052F
18.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E052F#FFFFFF#000000##FFFFFF
##1E052F1.0018.781.1218.78
#FFFFFF18.781.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001130
Deuteranopia (green-blind)
#00122E
Tritanopia (blue-blind)
#1B0F19
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #1e052f;
/* rgb */ color: rgb(30, 5, 47);
/* oklch */ color: oklch(19.1% 0.081 307.9);
Tailwind
colors: {
  custom: {
    50: '#5b4868',
    500: '#1e052f',
    950: '#000000',
  },
}
SCSS
$custom: #1e052f;
$custom-light: #5b4868;
$custom-dark: #000000;
JSON
{
  "hex": "#1e052f",
  "rgb": {
    "r": 30,
    "g": 5,
    "b": 47
  },
  "hsl": {
    "h": 275.714,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.19096,
    "c": 0.08096,
    "h": 307.9
  },
  "luminance": 0.0059
}

Semantic roles & 50–950 ramp

primary
#1E052F
secondary
#40711F
accent
#F73181
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040006
muted
#79777A

Preview Lab

Preview with #1E052F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#1E052F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva