#17052F#17052F

#17052F is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.0% C 0.079 H 297.9°. Best body text is #FFFFFF at 19.10:1 contrast (WCAG AA passes).

Color values

HEX#17052F
RGBrgb(23, 5, 47)
HSLhsl(266, 81%, 10%)
HSVhsv(266, 89%, 18%)
CMYKcmyk(51.1%, 89.4%, 0%, 81.6%)
CIE-LABlab(4.48, 18.31, -23.27)
CIE-LCHlch(4.48, 29.61, 308.19°)
OKLaboklab(18.02% 0.0371 -0.07)
OKLCHoklch(18.02% 0.079 297.9)
XYZxyz(0.9206, 0.4959, 2.7360)
Luminance0.0050 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17052F #1D2F05
analogous
#05082F #17052F #2C052F
triadic
#17052F #2F1705 #052F17
tetradic
#17052F #2F0508 #1D2F05 #052F2C
square
#17052F #2F0508 #1D2F05 #052F2C
split-complementary
#17052F #2F2C05 #082F05
monochromatic
#0E031C #0E031C #17052F #320B66 #4D119E

Accessibility & contrast

On white

19.10
#17052F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#17052F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17052F
19.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17052F#FFFFFF#000000##FFFFFF
##17052F1.0019.101.1019.10
#FFFFFF19.101.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001030
Deuteranopia (green-blind)
#000F2E
Tritanopia (blue-blind)
#110F19
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #17052f;
/* rgb */ color: rgb(23, 5, 47);
/* oklch */ color: oklch(18.0% 0.079 297.9);
Tailwind
colors: {
  custom: {
    50: '#564868',
    500: '#17052f',
    950: '#000000',
  },
}
SCSS
$custom: #17052f;
$custom-light: #564868;
$custom-dark: #000000;
JSON
{
  "hex": "#17052f",
  "rgb": {
    "r": 23,
    "g": 5,
    "b": 47
  },
  "hsl": {
    "h": 265.714,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.18016,
    "c": 0.07925,
    "h": 297.9
  },
  "luminance": 0.00496
}

Semantic roles & 50–950 ramp

primary
#17052F
secondary
#4E711F
accent
#F731A2
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030006
muted
#78777A

Preview Lab

Preview with #17052F

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

Preview Lab → · Contrast checker → · Palette generator →

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