#1D0D56#1D0D56

#1D0D56 is a very dark, vivid violet. Relative luminance 0.012; OKLCH L 24.4% C 0.121 H 282.8°. Best body text is #FFFFFF at 16.88:1 contrast (WCAG AA passes).

Color values

HEX#1D0D56
RGBrgb(29, 13, 86)
HSLhsl(253, 74%, 19%)
HSVhsv(253, 85%, 34%)
CMYKcmyk(66.3%, 84.9%, 0%, 66.3%)
CIE-LABlab(10.71, 30.11, -40.80)
CIE-LCHlch(10.71, 50.71, 306.43°)
OKLaboklab(24.38% 0.0268 -0.1176)
OKLCHoklch(24.38% 0.121 282.8)
XYZxyz(2.3298, 1.2208, 8.9152)
Luminance0.0122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0D56 #46560D
analogous
#0D2256 #1D0D56 #420D56
triadic
#1D0D56 #561D0D #0D561D
tetradic
#1D0D56 #560D22 #46560D #0D5642
square
#1D0D56 #560D22 #46560D #0D5642
split-complementary
#1D0D56 #56420D #22560D
monochromatic
#09041B #0B0521 #1D0D56 #2F158B #411DC0

Accessibility & contrast

On white

16.88
#1D0D56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D0D56
16.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0D56#FFFFFF#000000##FFFFFF
##1D0D561.0016.881.2416.88
#FFFFFF16.881.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F58
Deuteranopia (green-blind)
#001A55
Tritanopia (blue-blind)
#002331
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #1d0d56;
/* rgb */ color: rgb(29, 13, 86);
/* oklch */ color: oklch(24.4% 0.121 282.8);
Tailwind
colors: {
  custom: {
    50: '#624e87',
    500: '#1d0d56',
    950: '#000000',
  },
}
SCSS
$custom: #1d0d56;
$custom-light: #624e87;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0d56",
  "rgb": {
    "r": 29,
    "g": 13,
    "b": 86
  },
  "hsl": {
    "h": 253.151,
    "s": 73.737,
    "l": 19.412
  },
  "oklch": {
    "l": 0.24377,
    "c": 0.12067,
    "h": 282.8
  },
  "luminance": 0.01221
}

Semantic roles & 50–950 ramp

primary
#1D0D56
secondary
#7B912E
accent
#F037C8
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #1D0D56

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

Preview Lab → · Contrast checker → · Palette generator →

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