#1E0339#1E0339

#1E0339 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.8% C 0.096 H 300.7°. Best body text is #FFFFFF at 18.63:1 contrast (WCAG AA passes).

Color values

HEX#1E0339
RGBrgb(30, 3, 57)
HSLhsl(270, 90%, 12%)
HSVhsv(270, 95%, 22%)
CMYKcmyk(47.4%, 94.7%, 0%, 77.6%)
CIE-LABlab(5.75, 26.02, -28.56)
CIE-LCHlch(5.75, 38.64, 312.33°)
OKLaboklab(19.79% 0.0493 -0.083)
OKLCHoklch(19.79% 0.096 300.7)
XYZxyz(1.3063, 0.6365, 3.9241)
Luminance0.0064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0339 #1E3903
analogous
#030339 #1E0339 #390339
triadic
#1E0339 #391E03 #03391E
tetradic
#1E0339 #390303 #1E3903 #033939
square
#1E0339 #390303 #1E3903 #033939
split-complementary
#1E0339 #393903 #033903
monochromatic
#0F021D #0F021D #1E0339 #3D0673 #5B09AD

Accessibility & contrast

On white

18.63
#1E0339 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E0339
18.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0339#FFFFFF#000000##FFFFFF
##1E03391.0018.631.1318.63
#FFFFFF18.631.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e0339;
/* rgb */ color: rgb(30, 3, 57);
/* oklch */ color: oklch(19.8% 0.096 300.7);
Tailwind
colors: {
  custom: {
    50: '#5d4770',
    500: '#1e0339',
    950: '#000000',
  },
}
SCSS
$custom: #1e0339;
$custom-light: #5d4770;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0339",
  "rgb": {
    "r": 30,
    "g": 3,
    "b": 57
  },
  "hsl": {
    "h": 270,
    "s": 90,
    "l": 11.765
  },
  "oklch": {
    "l": 0.19793,
    "c": 0.09648,
    "h": 300.7
  },
  "luminance": 0.00637
}

Semantic roles & 50–950 ramp

primary
#1E0339
secondary
#4C7C1C
accent
#FF2994
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#040007
muted
#79777A

Preview Lab

Preview with #1E0339

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

Preview Lab → · Contrast checker → · Palette generator →

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