#170B29#170B29

#170B29 is a very dark, muted violet. Relative luminance 0.006; OKLCH L 18.6% C 0.059 H 299.0°. Best body text is #FFFFFF at 18.81:1 contrast (WCAG AA passes).

Color values

HEX#170B29
RGBrgb(23, 11, 41)
HSLhsl(264, 58%, 10%)
HSVhsv(264, 73%, 16%)
CMYKcmyk(43.9%, 73.2%, 0%, 83.9%)
CIE-LABlab(5.25, 13.11, -17.53)
CIE-LCHlch(5.25, 21.89, 306.79°)
OKLaboklab(18.61% 0.0286 -0.0516)
OKLCHoklch(18.61% 0.059 299)
XYZxyz(0.8732, 0.5816, 2.1636)
Luminance0.0058 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170B29 #1D290B
analogous
#0B0E29 #170B29 #260B29
triadic
#170B29 #29170B #0B2917
tetradic
#170B29 #290B0E #1D290B #0B2926
square
#170B29 #290B0E #1D290B #0B2926
split-complementary
#170B29 #29260B #0E290B
monochromatic
#0E0618 #0E0618 #170B29 #321859 #4D258A

Accessibility & contrast

On white

18.81
#170B29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #170B29
18.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170B29#FFFFFF#000000##FFFFFF
##170B291.0018.811.1218.81
#FFFFFF18.811.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01112A
Deuteranopia (green-blind)
#031128
Tritanopia (blue-blind)
#131118
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #170b29;
/* rgb */ color: rgb(23, 11, 41);
/* oklch */ color: oklch(18.6% 0.059 299.0);
Tailwind
colors: {
  custom: {
    50: '#554b63',
    500: '#170b29',
    950: '#000000',
  },
}
SCSS
$custom: #170b29;
$custom-light: #554b63;
$custom-dark: #000000;
JSON
{
  "hex": "#170b29",
  "rgb": {
    "r": 23,
    "g": 11,
    "b": 41
  },
  "hsl": {
    "h": 264,
    "s": 57.692,
    "l": 10.196
  },
  "oklch": {
    "l": 0.18611,
    "c": 0.05904,
    "h": 299
  },
  "luminance": 0.00582
}

Semantic roles & 50–950 ramp

primary
#170B29
secondary
#4E652B
accent
#E147A3
background
#F4F4F5
surface
#E8E7EA
border
#C4C3C6
text
#030105
muted
#787779

Preview Lab

Preview with #170B29

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

Preview Lab → · Contrast checker → · Palette generator →

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