#1D0231#1D0231

#1D0231 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.6% C 0.089 H 306.1°. Best body text is #FFFFFF at 19.00:1 contrast (WCAG AA passes).

Color values

HEX#1D0231
RGBrgb(29, 2, 49)
HSLhsl(274, 92%, 10%)
HSVhsv(274, 96%, 19%)
CMYKcmyk(40.8%, 95.9%, 0%, 80.8%)
CIE-LABlab(4.75, 23.04, -24.28)
CIE-LCHlch(4.75, 33.47, 313.50°)
OKLaboklab(18.58% 0.0525 -0.0721)
OKLCHoklch(18.58% 0.089 306.1)
XYZxyz(1.0827, 0.5264, 2.9497)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0231 #163102
analogous
#050231 #1D0231 #31022E
triadic
#1D0231 #311D02 #02311D
tetradic
#1D0231 #310502 #163102 #022E31
square
#1D0231 #310502 #163102 #022E31
split-complementary
#1D0231 #2E3102 #023105
monochromatic
#11011D #11011D #1D0231 #40046C #6307A7

Accessibility & contrast

On white

19.00
#1D0231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D0231
19.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0231#FFFFFF#000000##FFFFFF
##1D02311.0019.001.1119.00
#FFFFFF19.001.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF19.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F32
Deuteranopia (green-blind)
#001030
Tritanopia (blue-blind)
#190D19
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #1d0231;
/* rgb */ color: rgb(29, 2, 49);
/* oklch */ color: oklch(18.6% 0.089 306.1);
Tailwind
colors: {
  custom: {
    50: '#5b4669',
    500: '#1d0231',
    950: '#000000',
  },
}
SCSS
$custom: #1d0231;
$custom-light: #5b4669;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0231",
  "rgb": {
    "r": 29,
    "g": 2,
    "b": 49
  },
  "hsl": {
    "h": 274.468,
    "s": 92.157,
    "l": 10
  },
  "oklch": {
    "l": 0.18578,
    "c": 0.08914,
    "h": 306.1
  },
  "luminance": 0.00526
}

Semantic roles & 50–950 ramp

primary
#1D0231
secondary
#417519
accent
#FF2984
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040006
muted
#79777A

Preview Lab

Preview with #1D0231

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

Preview Lab → · Contrast checker → · Palette generator →

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