#19022B#19022B

#19022B is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 17.3% C 0.081 H 306.0°. Best body text is #FFFFFF at 19.35:1 contrast (WCAG AA passes).

Color values

HEX#19022B
RGBrgb(25, 2, 43)
HSLhsl(274, 91%, 9%)
HSVhsv(274, 95%, 17%)
CMYKcmyk(41.9%, 95.3%, 0%, 83.1%)
CIE-LABlab(3.83, 18.64, -21.26)
CIE-LCHlch(3.83, 28.28, 311.24°)
OKLaboklab(17.26% 0.0477 -0.0658)
OKLCHoklch(17.26% 0.081 306)
XYZxyz(0.8586, 0.4245, 2.3217)
Luminance0.0043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19022B #142B02
analogous
#05022B #19022B #2B0229
triadic
#19022B #2B1902 #022B19
tetradic
#19022B #2B0502 #142B02 #02292B
square
#19022B #2B0502 #142B02 #02292B
split-complementary
#19022B #292B02 #022B05
monochromatic
#11011D #11011D #19022B #3B0565 #5D07A0

Accessibility & contrast

On white

19.35
#19022B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#19022B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19022B
19.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19022B#FFFFFF#000000##FFFFFF
##19022B1.0019.351.0919.35
#FFFFFF19.351.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D2C
Deuteranopia (green-blind)
#000E2A
Tritanopia (blue-blind)
#160B16
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #19022b;
/* rgb */ color: rgb(25, 2, 43);
/* oklch */ color: oklch(17.3% 0.081 306.0);
Tailwind
colors: {
  custom: {
    50: '#564764',
    500: '#19022b',
    950: '#000000',
  },
}
SCSS
$custom: #19022b;
$custom-light: #564764;
$custom-dark: #000000;
JSON
{
  "hex": "#19022b",
  "rgb": {
    "r": 25,
    "g": 2,
    "b": 43
  },
  "hsl": {
    "h": 273.659,
    "s": 91.111,
    "l": 8.824
  },
  "oklch": {
    "l": 0.1726,
    "c": 0.08127,
    "h": 306
  },
  "luminance": 0.00425
}

Semantic roles & 50–950 ramp

primary
#19022B
secondary
#3F7019
accent
#FF2987
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030005
muted
#78777A

Preview Lab

Preview with #19022B

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

Preview Lab → · Contrast checker → · Palette generator →

#19022B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva