#1E062E#1E062E

#1E062E is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.2% C 0.078 H 308.3°. Best body text is #FFFFFF at 18.74:1 contrast (WCAG AA passes).

Color values

HEX#1E062E
RGBrgb(30, 6, 46)
HSLhsl(276, 77%, 10%)
HSVhsv(276, 87%, 18%)
CMYKcmyk(34.8%, 87%, 0%, 82%)
CIE-LABlab(5.45, 20.42, -20.92)
CIE-LCHlch(5.45, 29.23, 314.30°)
OKLaboklab(19.18% 0.0482 -0.061)
OKLCHoklch(19.18% 0.078 308.3)
XYZxyz(1.0936, 0.6035, 2.6431)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E062E #162E06
analogous
#0A062E #1E062E #2E062A
triadic
#1E062E #2E1E06 #062E1E
tetradic
#1E062E #2E0A06 #162E06 #062A2E
square
#1E062E #2E0A06 #162E06 #062A2E
split-complementary
#1E062E #2A2E06 #062E0A
monochromatic
#12041B #12041B #1E062E #410D64 #65149A

Accessibility & contrast

On white

18.74
#1E062E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E062E
18.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E062E#FFFFFF#000000##FFFFFF
##1E062E1.0018.741.1218.74
#FFFFFF18.741.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112F
Deuteranopia (green-blind)
#00122D
Tritanopia (blue-blind)
#1B0F19
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #1e062e;
/* rgb */ color: rgb(30, 6, 46);
/* oklch */ color: oklch(19.2% 0.078 308.3);
Tailwind
colors: {
  custom: {
    50: '#5b4967',
    500: '#1e062e',
    950: '#000000',
  },
}
SCSS
$custom: #1e062e;
$custom-light: #5b4967;
$custom-dark: #000000;
JSON
{
  "hex": "#1e062e",
  "rgb": {
    "r": 30,
    "g": 6,
    "b": 46
  },
  "hsl": {
    "h": 276,
    "s": 76.923,
    "l": 10.196
  },
  "oklch": {
    "l": 0.1918,
    "c": 0.07773,
    "h": 308.3
  },
  "luminance": 0.00604
}

Semantic roles & 50–950 ramp

primary
#1E062E
secondary
#406F21
accent
#F33481
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040006
muted
#79777A

Preview Lab

Preview with #1E062E

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

Preview Lab → · Contrast checker → · Palette generator →

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