#1E0631#1E0631

#1E0631 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.5% C 0.082 H 305.7°. Best body text is #FFFFFF at 18.66:1 contrast (WCAG AA passes).

Color values

HEX#1E0631
RGBrgb(30, 6, 49)
HSLhsl(273, 78%, 11%)
HSVhsv(273, 88%, 19%)
CMYKcmyk(38.8%, 87.8%, 0%, 80.8%)
CIE-LABlab(5.67, 21.53, -22.81)
CIE-LCHlch(5.67, 31.36, 313.35°)
OKLaboklab(19.47% 0.0475 -0.0662)
OKLCHoklch(19.47% 0.082 305.7)
XYZxyz(1.1548, 0.6280, 2.9655)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0631 #193106
analogous
#080631 #1E0631 #31062E
triadic
#1E0631 #311E06 #06311E
tetradic
#1E0631 #310806 #193106 #062E31
square
#1E0631 #310806 #193106 #062E31
split-complementary
#1E0631 #2E3106 #063108
monochromatic
#11031B #11031B #1E0631 #3F0D68 #61139E

Accessibility & contrast

On white

18.66
#1E0631 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#1E0631 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E0631
18.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0631#FFFFFF#000000##FFFFFF
##1E06311.0018.661.1318.66
#FFFFFF18.661.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001232
Deuteranopia (green-blind)
#001330
Tritanopia (blue-blind)
#1B101B
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #1e0631;
/* rgb */ color: rgb(30, 6, 49);
/* oklch */ color: oklch(19.5% 0.082 305.7);
Tailwind
colors: {
  custom: {
    50: '#5c4969',
    500: '#1e0631',
    950: '#000000',
  },
}
SCSS
$custom: #1e0631;
$custom-light: #5c4969;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0631",
  "rgb": {
    "r": 30,
    "g": 6,
    "b": 49
  },
  "hsl": {
    "h": 273.488,
    "s": 78.182,
    "l": 10.784
  },
  "oklch": {
    "l": 0.19468,
    "c": 0.0815,
    "h": 305.7
  },
  "luminance": 0.00628
}

Semantic roles & 50–950 ramp

primary
#1E0631
secondary
#457221
accent
#F53389
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040006
muted
#79777A

Preview Lab

Preview with #1E0631

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

Preview Lab → · Contrast checker → · Palette generator →

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