#1E062B#1E062B

#1E062B is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.9% C 0.074 H 311.2°. Best body text is #FFFFFF at 18.81:1 contrast (WCAG AA passes).

Color values

HEX#1E062B
RGBrgb(30, 6, 43)
HSLhsl(279, 76%, 10%)
HSVhsv(279, 86%, 17%)
CMYKcmyk(30.2%, 86%, 0%, 83.1%)
CIE-LABlab(5.25, 19.30, -18.99)
CIE-LCHlch(5.25, 27.08, 315.46°)
OKLaboklab(18.9% 0.0488 -0.0556)
OKLCHoklch(18.9% 0.074 311.2)
XYZxyz(1.0365, 0.5807, 2.3425)
Luminance0.0058 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E062B #132B06
analogous
#0C062B #1E062B #2B0626
triadic
#1E062B #2B1E06 #062B1E
tetradic
#1E062B #2B0C06 #132B06 #06262B
square
#1E062B #2B0C06 #132B06 #06262B
split-complementary
#1E062B #262B06 #062B0C
monochromatic
#13041B #13041B #1E062B #430D61 #691596

Accessibility & contrast

On white

18.81
#1E062B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E062B
18.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E062B#FFFFFF#000000##FFFFFF
##1E062B1.0018.811.1218.81
#FFFFFF18.811.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00102C
Deuteranopia (green-blind)
#03122A
Tritanopia (blue-blind)
#1C0E17
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #1e062b;
/* rgb */ color: rgb(30, 6, 43);
/* oklch */ color: oklch(18.9% 0.074 311.2);
Tailwind
colors: {
  custom: {
    50: '#5b4964',
    500: '#1e062b',
    950: '#000000',
  },
}
SCSS
$custom: #1e062b;
$custom-light: #5b4964;
$custom-dark: #000000;
JSON
{
  "hex": "#1e062b",
  "rgb": {
    "r": 30,
    "g": 6,
    "b": 43
  },
  "hsl": {
    "h": 278.919,
    "s": 75.51,
    "l": 9.608
  },
  "oklch": {
    "l": 0.18904,
    "c": 0.07399,
    "h": 311.2
  },
  "luminance": 0.00581
}

Semantic roles & 50–950 ramp

primary
#1E062B
secondary
#3B6C21
accent
#F23678
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040005
muted
#79777A

Preview Lab

Preview with #1E062B

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

Preview Lab → · Contrast checker → · Palette generator →

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