#1E022E#1E022E

#1E022E is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.4% C 0.086 H 310.0°. Best body text is #FFFFFF at 19.03:1 contrast (WCAG AA passes).

Color values

HEX#1E022E
RGBrgb(30, 2, 46)
HSLhsl(278, 92%, 9%)
HSVhsv(278, 96%, 18%)
CMYKcmyk(34.8%, 95.7%, 0%, 82%)
CIE-LABlab(4.67, 22.28, -22.17)
CIE-LCHlch(4.67, 31.43, 315.14°)
OKLaboklab(18.43% 0.0554 -0.066)
OKLCHoklch(18.43% 0.086 310)
XYZxyz(1.0502, 0.5167, 2.6287)
Luminance0.0052 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E022E #122E02
analogous
#08022E #1E022E #2E0228
triadic
#1E022E #2E1E02 #022E1E
tetradic
#1E022E #2E0802 #122E02 #02282E
square
#1E022E #2E0802 #122E02 #02282E
split-complementary
#1E022E #282E02 #022E08
monochromatic
#13011D #13011D #1E022E #440569 #6B07A3

Accessibility & contrast

On white

19.03
#1E022E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#1E022E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E022E
19.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E022E#FFFFFF#000000##FFFFFF
##1E022E1.0019.031.1019.03
#FFFFFF19.031.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F2F
Deuteranopia (green-blind)
#00102D
Tritanopia (blue-blind)
#1C0C17
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #1e022e;
/* rgb */ color: rgb(30, 2, 46);
/* oklch */ color: oklch(18.4% 0.086 310.0);
Tailwind
colors: {
  custom: {
    50: '#5b4767',
    500: '#1e022e',
    950: '#000000',
  },
}
SCSS
$custom: #1e022e;
$custom-light: #5b4767;
$custom-dark: #000000;
JSON
{
  "hex": "#1e022e",
  "rgb": {
    "r": 30,
    "g": 2,
    "b": 46
  },
  "hsl": {
    "h": 278.182,
    "s": 91.667,
    "l": 9.412
  },
  "oklch": {
    "l": 0.18433,
    "c": 0.08616,
    "h": 310
  },
  "luminance": 0.00517
}

Semantic roles & 50–950 ramp

primary
#1E022E
secondary
#3A7319
accent
#FF2977
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040006
muted
#79777A

Preview Lab

Preview with #1E022E

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

Preview Lab → · Contrast checker → · Palette generator →

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