#17062F#17062F

#17062F is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.2% C 0.077 H 297.4°. Best body text is #FFFFFF at 19.03:1 contrast (WCAG AA passes).

Color values

HEX#17062F
RGBrgb(23, 6, 47)
HSLhsl(265, 77%, 10%)
HSVhsv(265, 87%, 18%)
CMYKcmyk(51.1%, 87.2%, 0%, 81.6%)
CIE-LABlab(4.68, 17.88, -22.96)
CIE-LCHlch(4.68, 29.10, 307.91°)
OKLaboklab(18.22% 0.0355 -0.0687)
OKLCHoklch(18.22% 0.077 297.4)
XYZxyz(0.9314, 0.5176, 2.7396)
Luminance0.0052 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17062F #1E2F06
analogous
#06092F #17062F #2B062F
triadic
#17062F #2F1706 #062F17
tetradic
#17062F #2F0609 #1E2F06 #062F2B
square
#17062F #2F0609 #1E2F06 #062F2B
split-complementary
#17062F #2F2B06 #092F06
monochromatic
#0D031B #0D031B #17062F #320D65 #4C149C

Accessibility & contrast

On white

19.03
#17062F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17062F
19.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17062F#FFFFFF#000000##FFFFFF
##17062F1.0019.031.1019.03
#FFFFFF19.031.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001030
Deuteranopia (green-blind)
#000F2E
Tritanopia (blue-blind)
#111019
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #17062f;
/* rgb */ color: rgb(23, 6, 47);
/* oklch */ color: oklch(18.2% 0.077 297.4);
Tailwind
colors: {
  custom: {
    50: '#564968',
    500: '#17062f',
    950: '#000000',
  },
}
SCSS
$custom: #17062f;
$custom-light: #564968;
$custom-dark: #000000;
JSON
{
  "hex": "#17062f",
  "rgb": {
    "r": 23,
    "g": 6,
    "b": 47
  },
  "hsl": {
    "h": 264.878,
    "s": 77.358,
    "l": 10.392
  },
  "oklch": {
    "l": 0.18216,
    "c": 0.07731,
    "h": 297.4
  },
  "luminance": 0.00518
}

Semantic roles & 50–950 ramp

primary
#17062F
secondary
#4F7021
accent
#F434A4
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030006
muted
#78777A

Preview Lab

Preview with #17062F

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

Preview Lab → · Contrast checker → · Palette generator →

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