#19022A#19022A

#19022A is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 17.2% C 0.080 H 306.9°. Best body text is #FFFFFF at 19.38:1 contrast (WCAG AA passes).

Color values

HEX#19022A
RGBrgb(25, 2, 42)
HSLhsl(275, 91%, 9%)
HSVhsv(275, 95%, 16%)
CMYKcmyk(40.5%, 95.2%, 0%, 83.5%)
CIE-LABlab(3.77, 18.18, -20.60)
CIE-LCHlch(3.77, 27.48, 311.42°)
OKLaboklab(17.15% 0.0481 -0.0641)
OKLCHoklch(17.15% 0.08 306.9)
XYZxyz(0.8404, 0.4173, 2.2263)
Luminance0.0042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19022A #132A02
analogous
#05022A #19022A #2A0227
triadic
#19022A #2A1902 #022A19
tetradic
#19022A #2A0502 #132A02 #02272A
square
#19022A #2A0502 #132A02 #02272A
split-complementary
#19022A #272A02 #022A05
monochromatic
#11011D #11011D #19022A #3C0564 #5F089F

Accessibility & contrast

On white

19.38
#19022A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#19022A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19022A
19.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19022A#FFFFFF#000000##FFFFFF
##19022A1.0019.381.0819.38
#FFFFFF19.381.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D2B
Deuteranopia (green-blind)
#000E29
Tritanopia (blue-blind)
#160B15
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #19022a;
/* rgb */ color: rgb(25, 2, 42);
/* oklch */ color: oklch(17.2% 0.080 306.9);
Tailwind
colors: {
  custom: {
    50: '#564764',
    500: '#19022a',
    950: '#000000',
  },
}
SCSS
$custom: #19022a;
$custom-light: #564764;
$custom-dark: #000000;
JSON
{
  "hex": "#19022a",
  "rgb": {
    "r": 25,
    "g": 2,
    "b": 42
  },
  "hsl": {
    "h": 274.5,
    "s": 90.909,
    "l": 8.627
  },
  "oklch": {
    "l": 0.17153,
    "c": 0.08012,
    "h": 306.9
  },
  "luminance": 0.00417
}

Semantic roles & 50–950 ramp

primary
#19022A
secondary
#3D6F19
accent
#FF2984
background
#F5F4F5
surface
#E9E6EA
border
#C5C2C6
text
#030005
muted
#787779

Preview Lab

Preview with #19022A

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

Preview Lab → · Contrast checker → · Palette generator →

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