#19031F#19031F

#19031F is a very dark, moderate purple. Relative luminance 0.004; OKLCH L 16.3% C 0.065 H 318.9°. Best body text is #FFFFFF at 19.55:1 contrast (WCAG AA passes).

Color values

HEX#19031F
RGBrgb(25, 3, 31)
HSLhsl(287, 82%, 7%)
HSVhsv(287, 90%, 12%)
CMYKcmyk(19.4%, 90.3%, 0%, 87.8%)
CIE-LABlab(3.35, 13.45, -12.72)
CIE-LCHlch(3.35, 18.51, 316.60°)
OKLaboklab(16.31% 0.0486 -0.0424)
OKLCHoklch(16.31% 0.065 318.9)
XYZxyz(0.6808, 0.3708, 1.3318)
Luminance0.0037 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19031F #091F03
analogous
#0B031F #19031F #1F0317
triadic
#19031F #1F1903 #031F19
tetradic
#19031F #1F0B03 #091F03 #03171F
square
#19031F #1F0B03 #091F03 #03171F
split-complementary
#19031F #171F03 #031F0B
monochromatic
#17031C #17031C #19031F #460857 #730E8F

Accessibility & contrast

On white

19.55
#19031F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#19031F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19031F
19.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19031F#FFFFFF#000000##FFFFFF
##19031F1.0019.551.0719.55
#FFFFFF19.551.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B20
Deuteranopia (green-blind)
#040D1E
Tritanopia (blue-blind)
#19070F
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #19031f;
/* rgb */ color: rgb(25, 3, 31);
/* oklch */ color: oklch(16.3% 0.065 318.9);
Tailwind
colors: {
  custom: {
    50: '#55485a',
    500: '#19031f',
    950: '#000000',
  },
}
SCSS
$custom: #19031f;
$custom-light: #55485a;
$custom-dark: #000000;
JSON
{
  "hex": "#19031f",
  "rgb": {
    "r": 25,
    "g": 3,
    "b": 31
  },
  "hsl": {
    "h": 287.143,
    "s": 82.353,
    "l": 6.667
  },
  "oklch": {
    "l": 0.16314,
    "c": 0.06455,
    "h": 318.9
  },
  "luminance": 0.00371
}

Semantic roles & 50–950 ramp

primary
#19031F
secondary
#2A631B
accent
#F92F5A
background
#F4F4F5
surface
#E8E6E9
border
#C4C2C5
text
#030004
muted
#787779

Preview Lab

Preview with #19031F

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

Preview Lab → · Contrast checker → · Palette generator →

#19031F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva