#170B2F#170B2F

#170B2F is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.2% C 0.068 H 294.4°. Best body text is #FFFFFF at 18.66:1 contrast (WCAG AA passes).

Color values

HEX#170B2F
RGBrgb(23, 11, 47)
HSLhsl(260, 62%, 11%)
HSVhsv(260, 77%, 18%)
CMYKcmyk(51.1%, 76.6%, 0%, 81.6%)
CIE-LABlab(5.66, 15.68, -21.39)
CIE-LCHlch(5.66, 26.52, 306.25°)
OKLaboklab(19.16% 0.0283 -0.0624)
OKLCHoklch(19.16% 0.068 294.4)
XYZxyz(0.9860, 0.6267, 2.7578)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170B2F #232F0B
analogous
#0B112F #170B2F #290B2F
triadic
#170B2F #2F170B #0B2F17
tetradic
#170B2F #2F0B11 #232F0B #0B2F29
square
#170B2F #2F0B11 #232F0B #0B2F29
split-complementary
#170B2F #2F290B #112F0B
monochromatic
#0C0619 #0C0619 #170B2F #2F1761 #482292

Accessibility & contrast

On white

18.66
#170B2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#170B2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #170B2F
18.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170B2F#FFFFFF#000000##FFFFFF
##170B2F1.0018.661.1318.66
#FFFFFF18.661.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001330
Deuteranopia (green-blind)
#00122E
Tritanopia (blue-blind)
#11131B
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #170b2f;
/* rgb */ color: rgb(23, 11, 47);
/* oklch */ color: oklch(19.2% 0.068 294.4);
Tailwind
colors: {
  custom: {
    50: '#564b68',
    500: '#170b2f',
    950: '#000000',
  },
}
SCSS
$custom: #170b2f;
$custom-light: #564b68;
$custom-dark: #000000;
JSON
{
  "hex": "#170b2f",
  "rgb": {
    "r": 23,
    "g": 11,
    "b": 47
  },
  "hsl": {
    "h": 260,
    "s": 62.069,
    "l": 11.373
  },
  "oklch": {
    "l": 0.19162,
    "c": 0.06848,
    "h": 294.4
  },
  "luminance": 0.00627
}

Semantic roles & 50–950 ramp

primary
#170B2F
secondary
#566B2A
accent
#E543AF
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #170B2F

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

Preview Lab → · Contrast checker → · Palette generator →

#170B2F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva