#1E0239#1E0239

#1E0239 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.6% C 0.098 H 301.1°. Best body text is #FFFFFF at 18.70:1 contrast (WCAG AA passes).

Color values

HEX#1E0239
RGBrgb(30, 2, 57)
HSLhsl(271, 93%, 12%)
HSVhsv(271, 96%, 22%)
CMYKcmyk(47.4%, 96.5%, 0%, 77.6%)
CIE-LABlab(5.55, 26.53, -28.88)
CIE-LCHlch(5.55, 39.22, 312.57°)
OKLaboklab(19.62% 0.0507 -0.0841)
OKLCHoklch(19.62% 0.098 301.1)
XYZxyz(1.2955, 0.6148, 3.9205)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0239 #1D3902
analogous
#020239 #1E0239 #390239
triadic
#1E0239 #391E02 #02391E
tetradic
#1E0239 #390202 #1D3902 #023939
square
#1E0239 #390202 #1D3902 #023939
split-complementary
#1E0239 #393902 #023902
monochromatic
#10011E #10011E #1E0239 #3D0474 #5C06AF

Accessibility & contrast

On white

18.70
#1E0239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E0239
18.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0239#FFFFFF#000000##FFFFFF
##1E02391.0018.701.1218.70
#FFFFFF18.701.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00123A
Deuteranopia (green-blind)
#001238
Tritanopia (blue-blind)
#18111E
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #1e0239;
/* rgb */ color: rgb(30, 2, 57);
/* oklch */ color: oklch(19.6% 0.098 301.1);
Tailwind
colors: {
  custom: {
    50: '#5d4670',
    500: '#1e0239',
    950: '#000000',
  },
}
SCSS
$custom: #1e0239;
$custom-light: #5d4670;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0239",
  "rgb": {
    "r": 30,
    "g": 2,
    "b": 57
  },
  "hsl": {
    "h": 270.545,
    "s": 93.22,
    "l": 11.569
  },
  "oklch": {
    "l": 0.19623,
    "c": 0.09823,
    "h": 301.1
  },
  "luminance": 0.00615
}

Semantic roles & 50–950 ramp

primary
#1E0239
secondary
#4B7D1A
accent
#FF2992
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#050007
muted
#79777A

Preview Lab

Preview with #1E0239

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

Preview Lab → · Contrast checker → · Palette generator →

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