#1D0B52#1D0B52

#1D0B52 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.7% C 0.117 H 284.6°. Best body text is #FFFFFF at 17.18:1 contrast (WCAG AA passes).

Color values

HEX#1D0B52
RGBrgb(29, 11, 82)
HSLhsl(255, 76%, 18%)
HSVhsv(255, 87%, 32%)
CMYKcmyk(64.6%, 86.6%, 0%, 67.8%)
CIE-LABlab(9.87, 29.86, -39.44)
CIE-LCHlch(9.87, 49.47, 307.13°)
OKLaboklab(23.66% 0.0296 -0.1137)
OKLCHoklch(23.66% 0.117 284.6)
XYZxyz(2.1489, 1.1096, 8.0819)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0B52 #40520B
analogous
#0B1C52 #1D0B52 #400B52
triadic
#1D0B52 #521D0B #0B521D
tetradic
#1D0B52 #520B1C #40520B #0B5240
square
#1D0B52 #520B1C #40520B #0B5240
split-complementary
#1D0B52 #52400B #1C520B
monochromatic
#0A041B #0A041C #1D0B52 #301288 #4319BE

Accessibility & contrast

On white

17.18
#1D0B52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#1D0B52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D0B52
17.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0B52#FFFFFF#000000##FFFFFF
##1D0B521.0017.181.2217.18
#FFFFFF17.181.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D54
Deuteranopia (green-blind)
#001951
Tritanopia (blue-blind)
#00202F
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #1d0b52;
/* rgb */ color: rgb(29, 11, 82);
/* oklch */ color: oklch(23.7% 0.117 284.6);
Tailwind
colors: {
  custom: {
    50: '#614d83',
    500: '#1d0b52',
    950: '#000000',
  },
}
SCSS
$custom: #1d0b52;
$custom-light: #614d83;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0b52",
  "rgb": {
    "r": 29,
    "g": 11,
    "b": 82
  },
  "hsl": {
    "h": 255.211,
    "s": 76.344,
    "l": 18.235
  },
  "oklch": {
    "l": 0.23655,
    "c": 0.11746,
    "h": 284.6
  },
  "luminance": 0.0111
}

Semantic roles & 50–950 ramp

primary
#1D0B52
secondary
#758E2B
accent
#F335C3
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#05010B
muted
#7A777C

Preview Lab

Preview with #1D0B52

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

Preview Lab → · Contrast checker → · Palette generator →

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