#1E023B#1E023B

#1E023B is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.9% C 0.100 H 299.7°. Best body text is #FFFFFF at 18.63:1 contrast (WCAG AA passes).

Color values

HEX#1E023B
RGBrgb(30, 2, 59)
HSLhsl(269, 93%, 12%)
HSVhsv(269, 97%, 23%)
CMYKcmyk(49.2%, 96.6%, 0%, 76.9%)
CIE-LABlab(5.74, 27.28, -30.04)
CIE-LCHlch(5.74, 40.58, 312.25°)
OKLaboklab(19.85% 0.0497 -0.0873)
OKLCHoklch(19.85% 0.1 299.7)
XYZxyz(1.3463, 0.6352, 4.1885)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E023B #1F3B02
analogous
#02023B #1E023B #3B023B
triadic
#1E023B #3B1E02 #023B1E
tetradic
#1E023B #3B0202 #1F3B02 #023B3B
square
#1E023B #3B0202 #1F3B02 #023B3B
split-complementary
#1E023B #3B3B02 #023B02
monochromatic
#0F011E #0F011E #1E023B #3C0476 #5A06B1

Accessibility & contrast

On white

18.63
#1E023B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#1E023B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E023B
18.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E023B#FFFFFF#000000##FFFFFF
##1E023B1.0018.631.1318.63
#FFFFFF18.631.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00133D
Deuteranopia (green-blind)
#00123A
Tritanopia (blue-blind)
#17121F
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #1e023b;
/* rgb */ color: rgb(30, 2, 59);
/* oklch */ color: oklch(19.9% 0.100 299.7);
Tailwind
colors: {
  custom: {
    50: '#5e4671',
    500: '#1e023b',
    950: '#000000',
  },
}
SCSS
$custom: #1e023b;
$custom-light: #5e4671;
$custom-dark: #000000;
JSON
{
  "hex": "#1e023b",
  "rgb": {
    "r": 30,
    "g": 2,
    "b": 59
  },
  "hsl": {
    "h": 269.474,
    "s": 93.443,
    "l": 11.961
  },
  "oklch": {
    "l": 0.19852,
    "c": 0.10044,
    "h": 299.7
  },
  "luminance": 0.00635
}

Semantic roles & 50–950 ramp

primary
#1E023B
secondary
#4D7E1A
accent
#FF2996
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#050008
muted
#79777B

Preview Lab

Preview with #1E023B

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

Preview Lab → · Contrast checker → · Palette generator →

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