#1D0E52#1D0E52

#1D0E52 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.1% C 0.114 H 283.8°. Best body text is #FFFFFF at 16.98:1 contrast (WCAG AA passes).

Color values

HEX#1D0E52
RGBrgb(29, 14, 82)
HSLhsl(253, 71%, 19%)
HSVhsv(253, 83%, 32%)
CMYKcmyk(64.6%, 82.9%, 0%, 67.8%)
CIE-LABlab(10.44, 28.23, -38.51)
CIE-LCHlch(10.44, 47.75, 306.24°)
OKLaboklab(24.05% 0.0274 -0.111)
OKLCHoklch(24.05% 0.114 283.8)
XYZxyz(2.1863, 1.1843, 8.0944)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0E52 #43520E
analogous
#0E2152 #1D0E52 #3F0E52
triadic
#1D0E52 #521D0E #0E521D
tetradic
#1D0E52 #520E21 #43520E #0E523F
square
#1D0E52 #520E21 #43520E #0E523F
split-complementary
#1D0E52 #523F0E #21520E
monochromatic
#09041A #0B051E #1D0E52 #2F1786 #4220BB

Accessibility & contrast

On white

16.98
#1D0E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#1D0E52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D0E52
16.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0E52#FFFFFF#000000##FFFFFF
##1D0E521.0016.981.2416.98
#FFFFFF16.981.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d0e52;
/* rgb */ color: rgb(29, 14, 82);
/* oklch */ color: oklch(24.1% 0.114 283.8);
Tailwind
colors: {
  custom: {
    50: '#614e83',
    500: '#1d0e52',
    950: '#000000',
  },
}
SCSS
$custom: #1d0e52;
$custom-light: #614e83;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0e52",
  "rgb": {
    "r": 29,
    "g": 14,
    "b": 82
  },
  "hsl": {
    "h": 253.235,
    "s": 70.833,
    "l": 18.824
  },
  "oklch": {
    "l": 0.24052,
    "c": 0.1143,
    "h": 283.8
  },
  "luminance": 0.01184
}

Semantic roles & 50–950 ramp

primary
#1D0E52
secondary
#788C2F
accent
#EE3AC6
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#05020B
muted
#7A787C

Preview Lab

Preview with #1D0E52

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

Preview Lab → · Contrast checker → · Palette generator →

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