#17022E#17022E

#17022E is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 17.3% C 0.084 H 300.4°. Best body text is #FFFFFF at 19.36:1 contrast (WCAG AA passes).

Color values

HEX#17022E
RGBrgb(23, 2, 46)
HSLhsl(269, 92%, 9%)
HSVhsv(269, 96%, 18%)
CMYKcmyk(50%, 95.7%, 0%, 82%)
CIE-LABlab(3.82, 19.09, -23.57)
CIE-LCHlch(3.82, 30.33, 309.00°)
OKLaboklab(17.27% 0.0427 -0.0727)
OKLCHoklch(17.27% 0.084 300.4)
XYZxyz(0.8681, 0.4228, 2.6201)
Luminance0.0042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17022E #192E02
analogous
#02032E #17022E #2D022E
triadic
#17022E #2E1702 #022E17
tetradic
#17022E #2E0203 #192E02 #022E2D
square
#17022E #2E0203 #192E02 #022E2D
split-complementary
#17022E #2E2D02 #032E02
monochromatic
#0F011D #0F011D #17022E #340569 #5207A3

Accessibility & contrast

On white

19.36
#17022E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#17022E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17022E
19.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17022E#FFFFFF#000000##FFFFFF
##17022E1.0019.361.0819.36
#FFFFFF19.361.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D2F
Deuteranopia (green-blind)
#000D2D
Tritanopia (blue-blind)
#120D17
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #17022e;
/* rgb */ color: rgb(23, 2, 46);
/* oklch */ color: oklch(17.3% 0.084 300.4);
Tailwind
colors: {
  custom: {
    50: '#554767',
    500: '#17022e',
    950: '#000000',
  },
}
SCSS
$custom: #17022e;
$custom-light: #554767;
$custom-dark: #000000;
JSON
{
  "hex": "#17022e",
  "rgb": {
    "r": 23,
    "g": 2,
    "b": 46
  },
  "hsl": {
    "h": 268.636,
    "s": 91.667,
    "l": 9.412
  },
  "oklch": {
    "l": 0.1727,
    "c": 0.0843,
    "h": 300.4
  },
  "luminance": 0.00423
}

Semantic roles & 50–950 ramp

primary
#17022E
secondary
#487319
accent
#FF2999
background
#F5F3F6
surface
#E9E5EB
border
#C5C1C6
text
#030006
muted
#78777A

Preview Lab

Preview with #17022E

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

Preview Lab → · Contrast checker → · Palette generator →

#17022E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva