#1E0538#1E0538

#1E0538 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.0% C 0.092 H 300.6°. Best body text is #FFFFFF at 18.52:1 contrast (WCAG AA passes).

Color values

HEX#1E0538
RGBrgb(30, 5, 56)
HSLhsl(269, 84%, 12%)
HSVhsv(269, 91%, 22%)
CMYKcmyk(46.4%, 91.1%, 0%, 78%)
CIE-LABlab(6.05, 24.62, -27.34)
CIE-LCHlch(6.05, 36.79, 312.00°)
OKLaboklab(20.02% 0.0468 -0.0791)
OKLCHoklch(20.02% 0.092 300.6)
XYZxyz(1.3033, 0.6701, 3.8013)
Luminance0.0067 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0538 #1F3805
analogous
#050538 #1E0538 #380538
triadic
#1E0538 #381E05 #05381E
tetradic
#1E0538 #380505 #1F3805 #053838
square
#1E0538 #380505 #1F3805 #053838
split-complementary
#1E0538 #383805 #053805
monochromatic
#0F031C #0F031C #1E0538 #3C0A70 #5A0FA8

Accessibility & contrast

On white

18.52
#1E0538 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E0538
18.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0538#FFFFFF#000000##FFFFFF
##1E05381.0018.521.1318.52
#FFFFFF18.521.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001339
Deuteranopia (green-blind)
#001337
Tritanopia (blue-blind)
#18121E
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #1e0538;
/* rgb */ color: rgb(30, 5, 56);
/* oklch */ color: oklch(20.0% 0.092 300.6);
Tailwind
colors: {
  custom: {
    50: '#5d486f',
    500: '#1e0538',
    950: '#000000',
  },
}
SCSS
$custom: #1e0538;
$custom-light: #5d486f;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0538",
  "rgb": {
    "r": 30,
    "g": 5,
    "b": 56
  },
  "hsl": {
    "h": 269.412,
    "s": 83.607,
    "l": 11.961
  },
  "oklch": {
    "l": 0.20016,
    "c": 0.0919,
    "h": 300.6
  },
  "luminance": 0.0067
}

Semantic roles & 50–950 ramp

primary
#1E0538
secondary
#4D7920
accent
#FA2E96
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#040007
muted
#79777A

Preview Lab

Preview with #1E0538

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

Preview Lab → · Contrast checker → · Palette generator →

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