#170B2D#170B2D

#170B2D is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.0% C 0.065 H 295.8°. Best body text is #FFFFFF at 18.71:1 contrast (WCAG AA passes).

Color values

HEX#170B2D
RGBrgb(23, 11, 45)
HSLhsl(261, 61%, 11%)
HSVhsv(261, 76%, 18%)
CMYKcmyk(48.9%, 75.6%, 0%, 82.4%)
CIE-LABlab(5.52, 14.82, -20.12)
CIE-LCHlch(5.52, 24.99, 306.38°)
OKLaboklab(18.97% 0.0284 -0.0588)
OKLCHoklch(18.97% 0.065 295.8)
XYZxyz(0.9466, 0.6109, 2.5502)
Luminance0.0061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170B2D #212D0B
analogous
#0B102D #170B2D #280B2D
triadic
#170B2D #2D170B #0B2D17
tetradic
#170B2D #2D0B10 #212D0B #0B2D28
square
#170B2D #2D0B10 #212D0B #0B2D28
split-complementary
#170B2D #2D280B #102D0B
monochromatic
#0D0619 #0D0619 #170B2D #30175E #49238F

Accessibility & contrast

On white

18.71
#170B2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#170B2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #170B2D
18.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170B2D#FFFFFF#000000##FFFFFF
##170B2D1.0018.711.1218.71
#FFFFFF18.711.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #170b2d;
/* rgb */ color: rgb(23, 11, 45);
/* oklch */ color: oklch(19.0% 0.065 295.8);
Tailwind
colors: {
  custom: {
    50: '#554b66',
    500: '#170b2d',
    950: '#000000',
  },
}
SCSS
$custom: #170b2d;
$custom-light: #554b66;
$custom-dark: #000000;
JSON
{
  "hex": "#170b2d",
  "rgb": {
    "r": 23,
    "g": 11,
    "b": 45
  },
  "hsl": {
    "h": 261.176,
    "s": 60.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.18973,
    "c": 0.06536,
    "h": 295.8
  },
  "luminance": 0.00611
}

Semantic roles & 50–950 ramp

primary
#170B2D
secondary
#53692A
accent
#E444AB
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #170B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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