#1E0D52#1E0D52

#1E0D52 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.0% C 0.115 H 285.0°. Best body text is #FFFFFF at 17.01:1 contrast (WCAG AA passes).

Color values

HEX#1E0D52
RGBrgb(30, 13, 82)
HSLhsl(255, 73%, 19%)
HSVhsv(255, 84%, 32%)
CMYKcmyk(63.4%, 84.1%, 0%, 67.8%)
CIE-LABlab(10.36, 28.93, -38.64)
CIE-LCHlch(10.36, 48.27, 306.82°)
OKLaboklab(24.02% 0.0299 -0.1113)
OKLCHoklch(24.02% 0.115 285)
XYZxyz(2.2019, 1.1729, 8.0914)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0D52 #41520D
analogous
#0D1E52 #1E0D52 #400D52
triadic
#1E0D52 #521E0D #0D521E
tetradic
#1E0D52 #520D1E #41520D #0D5240
square
#1E0D52 #520D1E #41520D #0D5240
split-complementary
#1E0D52 #52400D #1E520D
monochromatic
#0A041A #0B051D #1E0D52 #311587 #451EBC

Accessibility & contrast

On white

17.01
#1E0D52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#1E0D52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E0D52
17.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0D52#FFFFFF#000000##FFFFFF
##1E0D521.0017.011.2317.01
#FFFFFF17.011.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E54
Deuteranopia (green-blind)
#001A51
Tritanopia (blue-blind)
#03212F
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #1e0d52;
/* rgb */ color: rgb(30, 13, 82);
/* oklch */ color: oklch(24.0% 0.115 285.0);
Tailwind
colors: {
  custom: {
    50: '#624e83',
    500: '#1e0d52',
    950: '#000000',
  },
}
SCSS
$custom: #1e0d52;
$custom-light: #624e83;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0d52",
  "rgb": {
    "r": 30,
    "g": 13,
    "b": 82
  },
  "hsl": {
    "h": 254.783,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.24019,
    "c": 0.11526,
    "h": 285
  },
  "luminance": 0.01173
}

Semantic roles & 50–950 ramp

primary
#1E0D52
secondary
#758D2E
accent
#EF38C2
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #1E0D52

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

Preview Lab → · Contrast checker → · Palette generator →

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