#19022F#19022F

#19022F is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 17.7% C 0.086 H 302.4°. Best body text is #FFFFFF at 19.25:1 contrast (WCAG AA passes).

Color values

HEX#19022F
RGBrgb(25, 2, 47)
HSLhsl(271, 92%, 10%)
HSVhsv(271, 96%, 18%)
CMYKcmyk(46.8%, 95.7%, 0%, 81.6%)
CIE-LABlab(4.11, 20.46, -23.84)
CIE-LCHlch(4.11, 31.42, 310.64°)
OKLaboklab(17.7% 0.046 -0.0725)
OKLCHoklch(17.7% 0.086 302.4)
XYZxyz(0.9356, 0.4553, 2.7274)
Luminance0.0046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19022F #182F02
analogous
#03022F #19022F #2F022F
triadic
#19022F #2F1902 #022F19
tetradic
#19022F #2F0302 #182F02 #022F2F
square
#19022F #2F0302 #182F02 #022F2F
split-complementary
#19022F #2F2F02 #022F03
monochromatic
#10011D #10011D #19022F #38046A #5707A4

Accessibility & contrast

On white

19.25
#19022F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #19022F
19.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19022F#FFFFFF#000000##FFFFFF
##19022F1.0019.251.0919.25
#FFFFFF19.251.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E30
Deuteranopia (green-blind)
#000E2E
Tritanopia (blue-blind)
#140D18
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #19022f;
/* rgb */ color: rgb(25, 2, 47);
/* oklch */ color: oklch(17.7% 0.086 302.4);
Tailwind
colors: {
  custom: {
    50: '#574768',
    500: '#19022f',
    950: '#000000',
  },
}
SCSS
$custom: #19022f;
$custom-light: #574768;
$custom-dark: #000000;
JSON
{
  "hex": "#19022f",
  "rgb": {
    "r": 25,
    "g": 2,
    "b": 47
  },
  "hsl": {
    "h": 270.667,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.17702,
    "c": 0.08589,
    "h": 302.4
  },
  "luminance": 0.00455
}

Semantic roles & 50–950 ramp

primary
#19022F
secondary
#457419
accent
#FF2992
background
#F5F3F6
surface
#E9E5EB
border
#C5C1C6
text
#030006
muted
#78777A

Preview Lab

Preview with #19022F

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

Preview Lab → · Contrast checker → · Palette generator →

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