#1E062F#1E062F

#1E062F is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.3% C 0.079 H 307.4°. Best body text is #FFFFFF at 18.71:1 contrast (WCAG AA passes).

Color values

HEX#1E062F
RGBrgb(30, 6, 47)
HSLhsl(275, 77%, 10%)
HSVhsv(275, 87%, 18%)
CMYKcmyk(36.2%, 87.2%, 0%, 81.6%)
CIE-LABlab(5.52, 20.78, -21.56)
CIE-LCHlch(5.52, 29.94, 313.96°)
OKLaboklab(19.28% 0.048 -0.0627)
OKLCHoklch(19.28% 0.079 307.4)
XYZxyz(1.1135, 0.6115, 2.7481)
Luminance0.0061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E062F #172F06
analogous
#09062F #1E062F #2F062B
triadic
#1E062F #2F1E06 #062F1E
tetradic
#1E062F #2F0906 #172F06 #062B2F
square
#1E062F #2F0906 #172F06 #062B2F
split-complementary
#1E062F #2B2F06 #062F09
monochromatic
#11031B #11031B #1E062F #410D65 #63149C

Accessibility & contrast

On white

18.71
#1E062F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E062F
18.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E062F#FFFFFF#000000##FFFFFF
##1E062F1.0018.711.1218.71
#FFFFFF18.711.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.711.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: #1e062f;
/* rgb */ color: rgb(30, 6, 47);
/* oklch */ color: oklch(19.3% 0.079 307.4);
Tailwind
colors: {
  custom: {
    50: '#5b4968',
    500: '#1e062f',
    950: '#000000',
  },
}
SCSS
$custom: #1e062f;
$custom-light: #5b4968;
$custom-dark: #000000;
JSON
{
  "hex": "#1e062f",
  "rgb": {
    "r": 30,
    "g": 6,
    "b": 47
  },
  "hsl": {
    "h": 275.122,
    "s": 77.358,
    "l": 10.392
  },
  "oklch": {
    "l": 0.19275,
    "c": 0.07899,
    "h": 307.4
  },
  "luminance": 0.00612
}

Semantic roles & 50–950 ramp

primary
#1E062F
secondary
#427021
accent
#F43484
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040006
muted
#79777A

Preview Lab

Preview with #1E062F

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

Preview Lab → · Contrast checker → · Palette generator →

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