#17062E#17062E

#17062E is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.1% C 0.076 H 298.1°. Best body text is #FFFFFF at 19.06:1 contrast (WCAG AA passes).

Color values

HEX#17062E
RGBrgb(23, 6, 46)
HSLhsl(266, 77%, 10%)
HSVhsv(266, 87%, 18%)
CMYKcmyk(50%, 87%, 0%, 82%)
CIE-LABlab(4.60, 17.42, -22.32)
CIE-LCHlch(4.60, 28.31, 307.96°)
OKLaboklab(18.11% 0.0358 -0.067)
OKLCHoklch(18.11% 0.076 298.1)
XYZxyz(0.9115, 0.5097, 2.6346)
Luminance0.0051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17062E #1D2E06
analogous
#06092E #17062E #2B062E
triadic
#17062E #2E1706 #062E17
tetradic
#17062E #2E0609 #1D2E06 #062E2B
square
#17062E #2E0609 #1D2E06 #062E2B
split-complementary
#17062E #2E2B06 #092E06
monochromatic
#0E041B #0E041B #17062E #320D64 #4D149A

Accessibility & contrast

On white

19.06
#17062E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17062E
19.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17062E#FFFFFF#000000##FFFFFF
##17062E1.0019.061.1019.06
#FFFFFF19.061.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00102F
Deuteranopia (green-blind)
#000F2D
Tritanopia (blue-blind)
#111019
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #17062e;
/* rgb */ color: rgb(23, 6, 46);
/* oklch */ color: oklch(18.1% 0.076 298.1);
Tailwind
colors: {
  custom: {
    50: '#564967',
    500: '#17062e',
    950: '#000000',
  },
}
SCSS
$custom: #17062e;
$custom-light: #564967;
$custom-dark: #000000;
JSON
{
  "hex": "#17062e",
  "rgb": {
    "r": 23,
    "g": 6,
    "b": 46
  },
  "hsl": {
    "h": 265.5,
    "s": 76.923,
    "l": 10.196
  },
  "oklch": {
    "l": 0.18111,
    "c": 0.07592,
    "h": 298.1
  },
  "luminance": 0.0051
}

Semantic roles & 50–950 ramp

primary
#17062E
secondary
#4E6F21
accent
#F334A2
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030006
muted
#78777A

Preview Lab

Preview with #17062E

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

Preview Lab → · Contrast checker → · Palette generator →

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