#1D0D51#1D0D51

#1D0D51 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.8% C 0.114 H 284.4°. Best body text is #FFFFFF at 17.09:1 contrast (WCAG AA passes).

Color values

HEX#1D0D51
RGBrgb(29, 13, 81)
HSLhsl(254, 72%, 18%)
HSVhsv(254, 84%, 32%)
CMYKcmyk(64.2%, 84%, 0%, 68.2%)
CIE-LABlab(10.13, 28.46, -38.33)
CIE-LCHlch(10.13, 47.74, 306.59°)
OKLaboklab(23.8% 0.0285 -0.1105)
OKLCHoklch(23.8% 0.114 284.4)
XYZxyz(2.1354, 1.1430, 7.8911)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0D51 #41510D
analogous
#0D1F51 #1D0D51 #3F0D51
triadic
#1D0D51 #511D0D #0D511D
tetradic
#1D0D51 #510D1F #41510D #0D513F
square
#1D0D51 #510D1F #41510D #0D513F
split-complementary
#1D0D51 #513F0D #1F510D
monochromatic
#09041A #0A051C #1D0D51 #301586 #431EBA

Accessibility & contrast

On white

17.09
#1D0D51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D0D51
17.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0D51#FFFFFF#000000##FFFFFF
##1D0D511.0017.091.2317.09
#FFFFFF17.091.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E53
Deuteranopia (green-blind)
#001A50
Tritanopia (blue-blind)
#01212E
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #1d0d51;
/* rgb */ color: rgb(29, 13, 81);
/* oklch */ color: oklch(23.8% 0.114 284.4);
Tailwind
colors: {
  custom: {
    50: '#614e83',
    500: '#1d0d51',
    950: '#000000',
  },
}
SCSS
$custom: #1d0d51;
$custom-light: #614e83;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0d51",
  "rgb": {
    "r": 29,
    "g": 13,
    "b": 81
  },
  "hsl": {
    "h": 254.118,
    "s": 72.34,
    "l": 18.431
  },
  "oklch": {
    "l": 0.23799,
    "c": 0.11406,
    "h": 284.4
  },
  "luminance": 0.01143
}

Semantic roles & 50–950 ramp

primary
#1D0D51
secondary
#768C2E
accent
#EF39C4
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#05010B
muted
#7A777C

Preview Lab

Preview with #1D0D51

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

Preview Lab → · Contrast checker → · Palette generator →

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