#1D0D54#1D0D54

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

Color values

HEX#1D0D54
RGBrgb(29, 13, 84)
HSLhsl(254, 73%, 19%)
HSVhsv(254, 85%, 33%)
CMYKcmyk(65.5%, 84.5%, 0%, 67.1%)
CIE-LABlab(10.48, 29.45, -39.82)
CIE-LCHlch(10.48, 49.53, 306.49°)
OKLaboklab(24.15% 0.0275 -0.1148)
OKLCHoklch(24.15% 0.118 283.5)
XYZxyz(2.2504, 1.1890, 8.4967)
Luminance0.0119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0D54 #44540D
analogous
#0D2154 #1D0D54 #410D54
triadic
#1D0D54 #541D0D #0D541D
tetradic
#1D0D54 #540D21 #44540D #0D5441
square
#1D0D54 #540D21 #44540D #0D5441
split-complementary
#1D0D54 #54410D #21540D
monochromatic
#09041A #0B051F #1D0D54 #2F1589 #421DBE

Accessibility & contrast

On white

16.97
#1D0D54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D0D54
16.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0D54#FFFFFF#000000##FFFFFF
##1D0D541.0016.971.2416.97
#FFFFFF16.971.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F56
Deuteranopia (green-blind)
#001A53
Tritanopia (blue-blind)
#002230
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #1d0d54;
/* rgb */ color: rgb(29, 13, 84);
/* oklch */ color: oklch(24.1% 0.118 283.5);
Tailwind
colors: {
  custom: {
    50: '#624e85',
    500: '#1d0d54',
    950: '#000000',
  },
}
SCSS
$custom: #1d0d54;
$custom-light: #624e85;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0d54",
  "rgb": {
    "r": 29,
    "g": 13,
    "b": 84
  },
  "hsl": {
    "h": 253.521,
    "s": 73.196,
    "l": 19.02
  },
  "oklch": {
    "l": 0.24145,
    "c": 0.11803,
    "h": 283.5
  },
  "luminance": 0.01189
}

Semantic roles & 50–950 ramp

primary
#1D0D54
secondary
#798F2E
accent
#F038C6
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #1D0D54

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

Preview Lab → · Contrast checker → · Palette generator →

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