#17062B#17062B

#17062B is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 17.8% C 0.072 H 300.6°. Best body text is #FFFFFF at 19.14:1 contrast (WCAG AA passes).

Color values

HEX#17062B
RGBrgb(23, 6, 43)
HSLhsl(268, 76%, 10%)
HSVhsv(268, 86%, 17%)
CMYKcmyk(46.5%, 86%, 0%, 83.1%)
CIE-LABlab(4.40, 16.04, -20.39)
CIE-LCHlch(4.40, 25.95, 308.20°)
OKLaboklab(17.8% 0.0365 -0.0618)
OKLCHoklch(17.8% 0.072 300.6)
XYZxyz(0.8544, 0.4868, 2.3340)
Luminance0.0049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17062B #1A2B06
analogous
#06072B #17062B #2A062B
triadic
#17062B #2B1706 #062B17
tetradic
#17062B #2B0607 #1A2B06 #062B2A
square
#17062B #2B0607 #1A2B06 #062B2A
split-complementary
#17062B #2B2A06 #072B06
monochromatic
#0E041B #0E041B #17062B #340D61 #501596

Accessibility & contrast

On white

19.14
#17062B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17062B
19.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17062B#FFFFFF#000000##FFFFFF
##17062B1.0019.141.1019.14
#FFFFFF19.141.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F2C
Deuteranopia (green-blind)
#000F2A
Tritanopia (blue-blind)
#130F17
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #17062b;
/* rgb */ color: rgb(23, 6, 43);
/* oklch */ color: oklch(17.8% 0.072 300.6);
Tailwind
colors: {
  custom: {
    50: '#554964',
    500: '#17062b',
    950: '#000000',
  },
}
SCSS
$custom: #17062b;
$custom-light: #554964;
$custom-dark: #000000;
JSON
{
  "hex": "#17062b",
  "rgb": {
    "r": 23,
    "g": 6,
    "b": 43
  },
  "hsl": {
    "h": 267.568,
    "s": 75.51,
    "l": 9.608
  },
  "oklch": {
    "l": 0.17802,
    "c": 0.07177,
    "h": 300.6
  },
  "luminance": 0.00487
}

Semantic roles & 50–950 ramp

primary
#17062B
secondary
#496C21
accent
#F2369C
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030005
muted
#78777A

Preview Lab

Preview with #17062B

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

Preview Lab → · Contrast checker → · Palette generator →

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