#19022D#19022D

#19022D is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 17.5% C 0.084 H 304.1°. Best body text is #FFFFFF at 19.30:1 contrast (WCAG AA passes).

Color values

HEX#19022D
RGBrgb(25, 2, 45)
HSLhsl(272, 91%, 9%)
HSVhsv(272, 96%, 18%)
CMYKcmyk(44.4%, 95.6%, 0%, 82.4%)
CIE-LABlab(3.97, 19.55, -22.56)
CIE-LCHlch(3.97, 29.85, 310.91°)
OKLaboklab(17.48% 0.0469 -0.0692)
OKLCHoklch(17.48% 0.084 304.1)
XYZxyz(0.8962, 0.4396, 2.5197)
Luminance0.0044 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19022D #162D02
analogous
#04022D #19022D #2D022C
triadic
#19022D #2D1902 #022D19
tetradic
#19022D #2D0402 #162D02 #022C2D
square
#19022D #2D0402 #162D02 #022C2D
split-complementary
#19022D #2C2D02 #022D04
monochromatic
#10011D #10011D #19022D #3A0568 #5A07A2

Accessibility & contrast

On white

19.30
#19022D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #19022D
19.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19022D#FFFFFF#000000##FFFFFF
##19022D1.0019.301.0919.30
#FFFFFF19.301.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D2E
Deuteranopia (green-blind)
#000E2C
Tritanopia (blue-blind)
#150C17
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #19022d;
/* rgb */ color: rgb(25, 2, 45);
/* oklch */ color: oklch(17.5% 0.084 304.1);
Tailwind
colors: {
  custom: {
    50: '#574766',
    500: '#19022d',
    950: '#000000',
  },
}
SCSS
$custom: #19022d;
$custom-light: #574766;
$custom-dark: #000000;
JSON
{
  "hex": "#19022d",
  "rgb": {
    "r": 25,
    "g": 2,
    "b": 45
  },
  "hsl": {
    "h": 272.093,
    "s": 91.489,
    "l": 9.216
  },
  "oklch": {
    "l": 0.17479,
    "c": 0.08357,
    "h": 304.1
  },
  "luminance": 0.0044
}

Semantic roles & 50–950 ramp

primary
#19022D
secondary
#427219
accent
#FF298C
background
#F5F3F6
surface
#E9E5EB
border
#C5C1C6
text
#030006
muted
#78777A

Preview Lab

Preview with #19022D

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

Preview Lab → · Contrast checker → · Palette generator →

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