#17052B#17052B

#17052B is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 17.6% C 0.074 H 301.2°. Best body text is #FFFFFF at 19.21:1 contrast (WCAG AA passes).

Color values

HEX#17052B
RGBrgb(23, 5, 43)
HSLhsl(268, 79%, 9%)
HSVhsv(268, 88%, 17%)
CMYKcmyk(46.5%, 88.4%, 0%, 83.1%)
CIE-LABlab(4.20, 16.45, -20.70)
CIE-LCHlch(4.20, 26.44, 308.47°)
OKLaboklab(17.59% 0.0383 -0.0632)
OKLCHoklch(17.59% 0.074 301.2)
XYZxyz(0.8436, 0.4651, 2.3304)
Luminance0.0046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17052B #192B05
analogous
#05062B #17052B #2A052B
triadic
#17052B #2B1705 #052B17
tetradic
#17052B #2B0506 #192B05 #052B2A
square
#17052B #2B0506 #192B05 #052B2A
split-complementary
#17052B #2B2A05 #062B05
monochromatic
#0F031B #0F031B #17052B #340B62 #521299

Accessibility & contrast

On white

19.21
#17052B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#17052B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17052B
19.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17052B#FFFFFF#000000##FFFFFF
##17052B1.0019.211.0919.21
#FFFFFF19.211.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E2C
Deuteranopia (green-blind)
#000E2A
Tritanopia (blue-blind)
#130E17
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #17052b;
/* rgb */ color: rgb(23, 5, 43);
/* oklch */ color: oklch(17.6% 0.074 301.2);
Tailwind
colors: {
  custom: {
    50: '#554864',
    500: '#17052b',
    950: '#000000',
  },
}
SCSS
$custom: #17052b;
$custom-light: #554864;
$custom-dark: #000000;
JSON
{
  "hex": "#17052b",
  "rgb": {
    "r": 23,
    "g": 5,
    "b": 43
  },
  "hsl": {
    "h": 268.421,
    "s": 79.167,
    "l": 9.412
  },
  "oklch": {
    "l": 0.17592,
    "c": 0.07388,
    "h": 301.2
  },
  "luminance": 0.00465
}

Semantic roles & 50–950 ramp

primary
#17052B
secondary
#486D1F
accent
#F63299
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030005
muted
#78777A

Preview Lab

Preview with #17052B

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

Preview Lab → · Contrast checker → · Palette generator →

#17052B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva