#17062D#17062D

#17062D is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.0% C 0.075 H 298.9°. Best body text is #FFFFFF at 19.08:1 contrast (WCAG AA passes).

Color values

HEX#17062D
RGBrgb(23, 6, 45)
HSLhsl(266, 76%, 10%)
HSVhsv(266, 87%, 18%)
CMYKcmyk(48.9%, 86.7%, 0%, 82.4%)
CIE-LABlab(4.53, 16.96, -21.68)
CIE-LCHlch(4.53, 27.53, 308.03°)
OKLaboklab(18.01% 0.0361 -0.0652)
OKLCHoklch(18.01% 0.075 298.9)
XYZxyz(0.8920, 0.5019, 2.5320)
Luminance0.0050 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17062D #1C2D06
analogous
#06082D #17062D #2B062D
triadic
#17062D #2D1706 #062D17
tetradic
#17062D #2D0608 #1C2D06 #062D2B
square
#17062D #2D0608 #1C2D06 #062D2B
split-complementary
#17062D #2D2B06 #082D06
monochromatic
#0E041B #0E041B #17062D #330D63 #4E1499

Accessibility & contrast

On white

19.08
#17062D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#17062D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17062D
19.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17062D#FFFFFF#000000##FFFFFF
##17062D1.0019.081.1019.08
#FFFFFF19.081.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00102E
Deuteranopia (green-blind)
#000F2C
Tritanopia (blue-blind)
#120F18
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #17062d;
/* rgb */ color: rgb(23, 6, 45);
/* oklch */ color: oklch(18.0% 0.075 298.9);
Tailwind
colors: {
  custom: {
    50: '#554966',
    500: '#17062d',
    950: '#000000',
  },
}
SCSS
$custom: #17062d;
$custom-light: #554966;
$custom-dark: #000000;
JSON
{
  "hex": "#17062d",
  "rgb": {
    "r": 23,
    "g": 6,
    "b": 45
  },
  "hsl": {
    "h": 266.154,
    "s": 76.471,
    "l": 10
  },
  "oklch": {
    "l": 0.18007,
    "c": 0.07455,
    "h": 298.9
  },
  "luminance": 0.00502
}

Semantic roles & 50–950 ramp

primary
#17062D
secondary
#4C6E21
accent
#F335A0
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030006
muted
#78777A

Preview Lab

Preview with #17062D

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

Preview Lab → · Contrast checker → · Palette generator →

#17062D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva