#1E0331#1E0331

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

Color values

HEX#1E0331
RGBrgb(30, 3, 49)
HSLhsl(275, 88%, 10%)
HSVhsv(275, 94%, 19%)
CMYKcmyk(38.8%, 93.9%, 0%, 80.8%)
CIE-LABlab(5.08, 22.97, -23.75)
CIE-LCHlch(5.08, 33.04, 314.05°)
OKLaboklab(18.93% 0.0525 -0.0698)
OKLCHoklch(18.93% 0.087 306.9)
XYZxyz(1.1222, 0.5629, 2.9547)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0331 #163103
analogous
#070331 #1E0331 #31032D
triadic
#1E0331 #311E03 #03311E
tetradic
#1E0331 #310703 #163103 #032D31
square
#1E0331 #310703 #163103 #032D31
split-complementary
#1E0331 #2D3103 #033107
monochromatic
#12021D #12021D #1E0331 #41076B #650AA4

Accessibility & contrast

On white

18.87
#1E0331 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#1E0331 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E0331
18.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0331#FFFFFF#000000##FFFFFF
##1E03311.0018.871.1118.87
#FFFFFF18.871.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001032
Deuteranopia (green-blind)
#001130
Tritanopia (blue-blind)
#1B0E1A
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #1e0331;
/* rgb */ color: rgb(30, 3, 49);
/* oklch */ color: oklch(18.9% 0.087 306.9);
Tailwind
colors: {
  custom: {
    50: '#5c4769',
    500: '#1e0331',
    950: '#000000',
  },
}
SCSS
$custom: #1e0331;
$custom-light: #5c4769;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0331",
  "rgb": {
    "r": 30,
    "g": 3,
    "b": 49
  },
  "hsl": {
    "h": 275.217,
    "s": 88.462,
    "l": 10.196
  },
  "oklch": {
    "l": 0.18932,
    "c": 0.08735,
    "h": 306.9
  },
  "luminance": 0.00563
}

Semantic roles & 50–950 ramp

primary
#1E0331
secondary
#40741B
accent
#FF2981
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040006
muted
#79777A

Preview Lab

Preview with #1E0331

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

Preview Lab → · Contrast checker → · Palette generator →

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