#1D0232#1D0232

#1D0232 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.7% C 0.090 H 305.2°. Best body text is #FFFFFF at 18.97:1 contrast (WCAG AA passes).

Color values

HEX#1D0232
RGBrgb(29, 2, 50)
HSLhsl(274, 92%, 10%)
HSVhsv(274, 96%, 20%)
CMYKcmyk(42%, 96%, 0%, 80.4%)
CIE-LABlab(4.83, 23.44, -24.90)
CIE-LCHlch(4.83, 34.20, 313.27°)
OKLaboklab(18.69% 0.0521 -0.0737)
OKLCHoklch(18.69% 0.09 305.2)
XYZxyz(1.1040, 0.5349, 3.0621)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0232 #173202
analogous
#050232 #1D0232 #32022F
triadic
#1D0232 #321D02 #02321D
tetradic
#1D0232 #320502 #173202 #022F32
square
#1D0232 #320502 #173202 #022F32
split-complementary
#1D0232 #2F3202 #023205
monochromatic
#11011D #11011D #1D0232 #3F046D #6107A8

Accessibility & contrast

On white

18.97
#1D0232 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#1D0232 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D0232
18.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0232#FFFFFF#000000##FFFFFF
##1D02321.0018.971.1118.97
#FFFFFF18.971.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001033
Deuteranopia (green-blind)
#001031
Tritanopia (blue-blind)
#190E1A
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #1d0232;
/* rgb */ color: rgb(29, 2, 50);
/* oklch */ color: oklch(18.7% 0.090 305.2);
Tailwind
colors: {
  custom: {
    50: '#5b466a',
    500: '#1d0232',
    950: '#000000',
  },
}
SCSS
$custom: #1d0232;
$custom-light: #5b466a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0232",
  "rgb": {
    "r": 29,
    "g": 2,
    "b": 50
  },
  "hsl": {
    "h": 273.75,
    "s": 92.308,
    "l": 10.196
  },
  "oklch": {
    "l": 0.18686,
    "c": 0.09024,
    "h": 305.2
  },
  "luminance": 0.00535
}

Semantic roles & 50–950 ramp

primary
#1D0232
secondary
#427619
accent
#FF2987
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040006
muted
#79777A

Preview Lab

Preview with #1D0232

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

Preview Lab → · Contrast checker → · Palette generator →

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