#170B25#170B25

#170B25 is a very dark, muted violet. Relative luminance 0.006; OKLCH L 18.3% C 0.053 H 302.8°. Best body text is #FFFFFF at 18.90:1 contrast (WCAG AA passes).

Color values

HEX#170B25
RGBrgb(23, 11, 37)
HSLhsl(268, 54%, 9%)
HSVhsv(268, 70%, 15%)
CMYKcmyk(37.8%, 70.3%, 0%, 85.5%)
CIE-LABlab(5.01, 11.44, -14.85)
CIE-LCHlch(5.01, 18.75, 307.60°)
OKLaboklab(18.27% 0.0285 -0.0442)
OKLCHoklch(18.27% 0.053 302.8)
XYZxyz(0.8069, 0.5551, 1.8145)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170B25 #19250B
analogous
#0B0C25 #170B25 #240B25
triadic
#170B25 #25170B #0B2517
tetradic
#170B25 #250B0C #19250B #0B2524
square
#170B25 #250B0C #19250B #0B2524
split-complementary
#170B25 #25240B #0C250B
monochromatic
#0F0718 #0F0718 #170B25 #341954 #522783

Accessibility & contrast

On white

18.90
#170B25 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#170B25 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #170B25
18.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170B25#FFFFFF#000000##FFFFFF
##170B251.0018.901.1118.90
#FFFFFF18.901.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031126
Deuteranopia (green-blind)
#061124
Tritanopia (blue-blind)
#141016
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #170b25;
/* rgb */ color: rgb(23, 11, 37);
/* oklch */ color: oklch(18.3% 0.053 302.8);
Tailwind
colors: {
  custom: {
    50: '#544b5f',
    500: '#170b25',
    950: '#000000',
  },
}
SCSS
$custom: #170b25;
$custom-light: #544b5f;
$custom-dark: #000000;
JSON
{
  "hex": "#170b25",
  "rgb": {
    "r": 23,
    "g": 11,
    "b": 37
  },
  "hsl": {
    "h": 267.692,
    "s": 54.167,
    "l": 9.412
  },
  "oklch": {
    "l": 0.18271,
    "c": 0.05262,
    "h": 302.8
  },
  "luminance": 0.00555
}

Semantic roles & 50–950 ramp

primary
#170B25
secondary
#48602B
accent
#DE4A9A
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#020104
muted
#787779

Preview Lab

Preview with #170B25

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

Preview Lab → · Contrast checker → · Palette generator →

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