#1E022F#1E022F

#1E022F is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.5% C 0.087 H 309.1°. Best body text is #FFFFFF at 19.00:1 contrast (WCAG AA passes).

Color values

HEX#1E022F
RGBrgb(30, 2, 47)
HSLhsl(277, 92%, 10%)
HSVhsv(277, 96%, 18%)
CMYKcmyk(36.2%, 95.7%, 0%, 81.6%)
CIE-LABlab(4.74, 22.67, -22.81)
CIE-LCHlch(4.74, 32.16, 314.83°)
OKLaboklab(18.54% 0.055 -0.0677)
OKLCHoklch(18.54% 0.087 309.1)
XYZxyz(1.0701, 0.5247, 2.7337)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E022F #132F02
analogous
#07022F #1E022F #2F022A
triadic
#1E022F #2F1E02 #022F1E
tetradic
#1E022F #2F0702 #132F02 #022A2F
square
#1E022F #2F0702 #132F02 #022A2F
split-complementary
#1E022F #2A2F02 #022F07
monochromatic
#13011D #13011D #1E022F #43046A #6907A4

Accessibility & contrast

On white

19.00
#1E022F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#1E022F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E022F
19.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E022F#FFFFFF#000000##FFFFFF
##1E022F1.0019.001.1119.00
#FFFFFF19.001.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF19.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F30
Deuteranopia (green-blind)
#00112E
Tritanopia (blue-blind)
#1B0C18
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #1e022f;
/* rgb */ color: rgb(30, 2, 47);
/* oklch */ color: oklch(18.5% 0.087 309.1);
Tailwind
colors: {
  custom: {
    50: '#5b4768',
    500: '#1e022f',
    950: '#000000',
  },
}
SCSS
$custom: #1e022f;
$custom-light: #5b4768;
$custom-dark: #000000;
JSON
{
  "hex": "#1e022f",
  "rgb": {
    "r": 30,
    "g": 2,
    "b": 47
  },
  "hsl": {
    "h": 277.333,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.18536,
    "c": 0.08725,
    "h": 309.1
  },
  "luminance": 0.00525
}

Semantic roles & 50–950 ramp

primary
#1E022F
secondary
#3B7419
accent
#FF297A
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040006
muted
#79777A

Preview Lab

Preview with #1E022F

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

Preview Lab → · Contrast checker → · Palette generator →

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