#170C25#170C25

#170C25 is a very dark, muted violet. Relative luminance 0.006; OKLCH L 18.5% C 0.051 H 302.0°. Best body text is #FFFFFF at 18.82:1 contrast (WCAG AA passes).

Color values

HEX#170C25
RGBrgb(23, 12, 37)
HSLhsl(266, 51%, 10%)
HSVhsv(266, 68%, 15%)
CMYKcmyk(37.8%, 67.6%, 0%, 85.5%)
CIE-LABlab(5.23, 11.01, -14.52)
CIE-LCHlch(5.23, 18.22, 307.15°)
OKLaboklab(18.48% 0.0268 -0.0429)
OKLCHoklch(18.48% 0.051 302)
XYZxyz(0.8187, 0.5787, 1.8185)
Luminance0.0058 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170C25 #1A250C
analogous
#0C0E25 #170C25 #240C25
triadic
#170C25 #25170C #0C2517
tetradic
#170C25 #250C0E #1A250C #0C2524
square
#170C25 #250C0E #1A250C #0C2524
split-complementary
#170C25 #25240C #0E250C
monochromatic
#0E0717 #0E0717 #170C25 #341B53 #502A81

Accessibility & contrast

On white

18.82
#170C25 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #170C25
18.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170C25#FFFFFF#000000##FFFFFF
##170C251.0018.821.1218.82
#FFFFFF18.821.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051126
Deuteranopia (green-blind)
#071124
Tritanopia (blue-blind)
#141116
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #170c25;
/* rgb */ color: rgb(23, 12, 37);
/* oklch */ color: oklch(18.5% 0.051 302.0);
Tailwind
colors: {
  custom: {
    50: '#544c5f',
    500: '#170c25',
    950: '#000000',
  },
}
SCSS
$custom: #170c25;
$custom-light: #544c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#170c25",
  "rgb": {
    "r": 23,
    "g": 12,
    "b": 37
  },
  "hsl": {
    "h": 266.4,
    "s": 51.02,
    "l": 9.608
  },
  "oklch": {
    "l": 0.18483,
    "c": 0.05055,
    "h": 302
  },
  "luminance": 0.00579
}

Semantic roles & 50–950 ramp

primary
#170C25
secondary
#49602D
accent
#DA4D9C
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#020104
muted
#787779

Preview Lab

Preview with #170C25

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

Preview Lab → · Contrast checker → · Palette generator →

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