#17052E#17052E

#17052E is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 17.9% C 0.078 H 298.7°. Best body text is #FFFFFF at 19.13:1 contrast (WCAG AA passes).

Color values

HEX#17052E
RGBrgb(23, 5, 46)
HSLhsl(266, 80%, 10%)
HSVhsv(266, 89%, 18%)
CMYKcmyk(50%, 89.1%, 0%, 82%)
CIE-LABlab(4.41, 17.84, -22.64)
CIE-LCHlch(4.41, 28.82, 308.25°)
OKLaboklab(17.91% 0.0374 -0.0683)
OKLCHoklch(17.91% 0.078 298.7)
XYZxyz(0.9006, 0.4879, 2.6310)
Luminance0.0049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17052E #1C2E05
analogous
#05082E #17052E #2B052E
triadic
#17052E #2E1705 #052E17
tetradic
#17052E #2E0508 #1C2E05 #052E2B
square
#17052E #2E0508 #1C2E05 #052E2B
split-complementary
#17052E #2E2B05 #082E05
monochromatic
#0E031C #0E031C #17052E #330B65 #4E119C

Accessibility & contrast

On white

19.13
#17052E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17052E
19.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17052E#FFFFFF#000000##FFFFFF
##17052E1.0019.131.1019.13
#FFFFFF19.131.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F2F
Deuteranopia (green-blind)
#000F2D
Tritanopia (blue-blind)
#110F18
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #17052e;
/* rgb */ color: rgb(23, 5, 46);
/* oklch */ color: oklch(17.9% 0.078 298.7);
Tailwind
colors: {
  custom: {
    50: '#554867',
    500: '#17052e',
    950: '#000000',
  },
}
SCSS
$custom: #17052e;
$custom-light: #554867;
$custom-dark: #000000;
JSON
{
  "hex": "#17052e",
  "rgb": {
    "r": 23,
    "g": 5,
    "b": 46
  },
  "hsl": {
    "h": 266.341,
    "s": 80.392,
    "l": 10
  },
  "oklch": {
    "l": 0.17908,
    "c": 0.07791,
    "h": 298.7
  },
  "luminance": 0.00488
}

Semantic roles & 50–950 ramp

primary
#17052E
secondary
#4C701F
accent
#F731A0
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030006
muted
#78777A

Preview Lab

Preview with #17052E

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

Preview Lab → · Contrast checker → · Palette generator →

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