#19022C#19022C

#19022C is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 17.4% C 0.082 H 305.0°. Best body text is #FFFFFF at 19.33:1 contrast (WCAG AA passes).

Color values

HEX#19022C
RGBrgb(25, 2, 44)
HSLhsl(273, 91%, 9%)
HSVhsv(273, 95%, 17%)
CMYKcmyk(43.2%, 95.5%, 0%, 82.7%)
CIE-LABlab(3.90, 19.09, -21.92)
CIE-LCHlch(3.90, 29.07, 311.06°)
OKLaboklab(17.37% 0.0473 -0.0675)
OKLCHoklch(17.37% 0.082 305)
XYZxyz(0.8771, 0.4319, 2.4195)
Luminance0.0043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19022C #152C02
analogous
#04022C #19022C #2C022A
triadic
#19022C #2C1902 #022C19
tetradic
#19022C #2C0402 #152C02 #022A2C
square
#19022C #2C0402 #152C02 #022A2C
split-complementary
#19022C #2A2C02 #022C04
monochromatic
#11011D #11011D #19022C #3A0567 #5C07A1

Accessibility & contrast

On white

19.33
#19022C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #19022C
19.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19022C#FFFFFF#000000##FFFFFF
##19022C1.0019.331.0919.33
#FFFFFF19.331.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D2D
Deuteranopia (green-blind)
#000E2B
Tritanopia (blue-blind)
#150C16
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #19022c;
/* rgb */ color: rgb(25, 2, 44);
/* oklch */ color: oklch(17.4% 0.082 305.0);
Tailwind
colors: {
  custom: {
    50: '#574765',
    500: '#19022c',
    950: '#000000',
  },
}
SCSS
$custom: #19022c;
$custom-light: #574765;
$custom-dark: #000000;
JSON
{
  "hex": "#19022c",
  "rgb": {
    "r": 25,
    "g": 2,
    "b": 44
  },
  "hsl": {
    "h": 272.857,
    "s": 91.304,
    "l": 9.02
  },
  "oklch": {
    "l": 0.17369,
    "c": 0.08242,
    "h": 305
  },
  "luminance": 0.00432
}

Semantic roles & 50–950 ramp

primary
#19022C
secondary
#417119
accent
#FF298A
background
#F5F3F6
surface
#E9E5EB
border
#C5C1C6
text
#030005
muted
#78777A

Preview Lab

Preview with #19022C

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

Preview Lab → · Contrast checker → · Palette generator →

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