#1E063D#1E063D

#1E063D is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.7% C 0.096 H 296.9°. Best body text is #FFFFFF at 18.28:1 contrast (WCAG AA passes).

Color values

HEX#1E063D
RGBrgb(30, 6, 61)
HSLhsl(266, 82%, 13%)
HSVhsv(266, 90%, 24%)
CMYKcmyk(50.8%, 90.2%, 0%, 76.1%)
CIE-LABlab(6.71, 25.89, -29.89)
CIE-LCHlch(6.71, 39.55, 310.90°)
OKLaboklab(20.72% 0.0437 -0.086)
OKLCHoklch(20.72% 0.096 296.9)
XYZxyz(1.4426, 0.7432, 4.4814)
Luminance0.0074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E063D #253D06
analogous
#06093D #1E063D #39063D
triadic
#1E063D #3D1E06 #063D1E
tetradic
#1E063D #3D0609 #253D06 #063D39
square
#1E063D #3D0609 #253D06 #063D39
split-complementary
#1E063D #3D3906 #093D06
monochromatic
#0E031C #0E031C #1E063D #390B75 #5511AC

Accessibility & contrast

On white

18.28
#1E063D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#1E063D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E063D
18.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E063D#FFFFFF#000000##FFFFFF
##1E063D1.0018.281.1518.28
#FFFFFF18.281.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00153F
Deuteranopia (green-blind)
#00143C
Tritanopia (blue-blind)
#161521
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #1e063d;
/* rgb */ color: rgb(30, 6, 61);
/* oklch */ color: oklch(20.7% 0.096 296.9);
Tailwind
colors: {
  custom: {
    50: '#5e4973',
    500: '#1e063d',
    950: '#000000',
  },
}
SCSS
$custom: #1e063d;
$custom-light: #5e4973;
$custom-dark: #000000;
JSON
{
  "hex": "#1e063d",
  "rgb": {
    "r": 30,
    "g": 6,
    "b": 61
  },
  "hsl": {
    "h": 266.182,
    "s": 82.09,
    "l": 13.137
  },
  "oklch": {
    "l": 0.20715,
    "c": 0.09648,
    "h": 296.9
  },
  "luminance": 0.00743
}

Semantic roles & 50–950 ramp

primary
#1E063D
secondary
#557D22
accent
#F82FA1
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #1E063D

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

Preview Lab → · Contrast checker → · Palette generator →

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