#1E0437#1E0437

#1E0437 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.7% C 0.092 H 301.8°. Best body text is #FFFFFF at 18.62:1 contrast (WCAG AA passes).

Color values

HEX#1E0437
RGBrgb(30, 4, 55)
HSLhsl(271, 86%, 12%)
HSVhsv(271, 93%, 22%)
CMYKcmyk(45.5%, 92.7%, 0%, 78.4%)
CIE-LABlab(5.77, 24.76, -27.07)
CIE-LCHlch(5.77, 36.69, 312.45°)
OKLaboklab(19.74% 0.0486 -0.0786)
OKLCHoklch(19.74% 0.092 301.8)
XYZxyz(1.2683, 0.6387, 3.6701)
Luminance0.0064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0437 #1D3704
analogous
#040437 #1E0437 #370437
triadic
#1E0437 #371E04 #04371E
tetradic
#1E0437 #370404 #1D3704 #043737
square
#1E0437 #370404 #1D3704 #043737
split-complementary
#1E0437 #373704 #043704
monochromatic
#10021D #10021D #1E0437 #3D0870 #5C0CA9

Accessibility & contrast

On white

18.62
#1E0437 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E0437
18.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0437#FFFFFF#000000##FFFFFF
##1E04371.0018.621.1318.62
#FFFFFF18.621.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001238
Deuteranopia (green-blind)
#001236
Tritanopia (blue-blind)
#18111D
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #1e0437;
/* rgb */ color: rgb(30, 4, 55);
/* oklch */ color: oklch(19.7% 0.092 301.8);
Tailwind
colors: {
  custom: {
    50: '#5d486e',
    500: '#1e0437',
    950: '#000000',
  },
}
SCSS
$custom: #1e0437;
$custom-light: #5d486e;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0437",
  "rgb": {
    "r": 30,
    "g": 4,
    "b": 55
  },
  "hsl": {
    "h": 270.588,
    "s": 86.441,
    "l": 11.569
  },
  "oklch": {
    "l": 0.19742,
    "c": 0.09242,
    "h": 301.8
  },
  "luminance": 0.00639
}

Semantic roles & 50–950 ramp

primary
#1E0437
secondary
#4B791E
accent
#FD2B92
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#040007
muted
#79777A

Preview Lab

Preview with #1E0437

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

Preview Lab → · Contrast checker → · Palette generator →

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