#1D0225#1D0225

#1D0225 is a very dark, moderate purple. Relative luminance 0.004; OKLCH L 17.4% C 0.076 H 317.9°. Best body text is #FFFFFF at 19.31:1 contrast (WCAG AA passes).

Color values

HEX#1D0225
RGBrgb(29, 2, 37)
HSLhsl(286, 90%, 8%)
HSVhsv(286, 95%, 15%)
CMYKcmyk(21.6%, 94.6%, 0%, 85.5%)
CIE-LABlab(3.96, 18.26, -16.43)
CIE-LCHlch(3.96, 24.56, 318.00°)
OKLaboklab(17.37% 0.0565 -0.051)
OKLCHoklch(17.37% 0.076 317.9)
XYZxyz(0.8623, 0.4382, 1.7891)
Luminance0.0044 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0225 #0A2502
analogous
#0C0225 #1D0225 #25021B
triadic
#1D0225 #251D02 #02251D
tetradic
#1D0225 #250C02 #0A2502 #021B25
square
#1D0225 #250C02 #0A2502 #021B25
split-complementary
#1D0225 #1B2502 #02250C
monochromatic
#17021D #17021D #1D0225 #4B055F #780899

Accessibility & contrast

On white

19.31
#1D0225 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#1D0225 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D0225
19.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0225#FFFFFF#000000##FFFFFF
##1D02251.0019.311.0919.31
#FFFFFF19.311.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C26
Deuteranopia (green-blind)
#030F24
Tritanopia (blue-blind)
#1D0812
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #1d0225;
/* rgb */ color: rgb(29, 2, 37);
/* oklch */ color: oklch(17.4% 0.076 317.9);
Tailwind
colors: {
  custom: {
    50: '#59475f',
    500: '#1d0225',
    950: '#000000',
  },
}
SCSS
$custom: #1d0225;
$custom-light: #59475f;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0225",
  "rgb": {
    "r": 29,
    "g": 2,
    "b": 37
  },
  "hsl": {
    "h": 286.286,
    "s": 89.744,
    "l": 7.647
  },
  "oklch": {
    "l": 0.17374,
    "c": 0.0761,
    "h": 317.9
  },
  "luminance": 0.00438
}

Semantic roles & 50–950 ramp

primary
#1D0225
secondary
#2B6A18
accent
#FF295A
background
#F5F4F5
surface
#E9E6E9
border
#C5C2C5
text
#030004
muted
#787779

Preview Lab

Preview with #1D0225

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

Preview Lab → · Contrast checker → · Palette generator →

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