#170A25#170A25

#170A25 is a very dark, muted violet. Relative luminance 0.005; OKLCH L 18.1% C 0.055 H 303.6°. Best body text is #FFFFFF at 18.98:1 contrast (WCAG AA passes).

Color values

HEX#170A25
RGBrgb(23, 10, 37)
HSLhsl(269, 57%, 9%)
HSVhsv(269, 73%, 15%)
CMYKcmyk(37.8%, 73%, 0%, 85.5%)
CIE-LABlab(4.81, 11.85, -15.17)
CIE-LCHlch(4.81, 19.25, 308.00°)
OKLaboklab(18.07% 0.0303 -0.0455)
OKLCHoklch(18.07% 0.055 303.6)
XYZxyz(0.7957, 0.5328, 1.8108)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170A25 #18250A
analogous
#0A0B25 #170A25 #250A25
triadic
#170A25 #25170A #0A2517
tetradic
#170A25 #250A0B #18250A #0A2525
square
#170A25 #250A0B #18250A #0A2525
split-complementary
#170A25 #25250A #0B250A
monochromatic
#0F0718 #0F0718 #170A25 #351755 #532485

Accessibility & contrast

On white

18.98
#170A25 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #170A25
18.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170A25#FFFFFF#000000##FFFFFF
##170A251.0018.981.1118.98
#FFFFFF18.981.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021026
Deuteranopia (green-blind)
#051024
Tritanopia (blue-blind)
#140F16
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #170a25;
/* rgb */ color: rgb(23, 10, 37);
/* oklch */ color: oklch(18.1% 0.055 303.6);
Tailwind
colors: {
  custom: {
    50: '#544b5f',
    500: '#170a25',
    950: '#000000',
  },
}
SCSS
$custom: #170a25;
$custom-light: #544b5f;
$custom-dark: #000000;
JSON
{
  "hex": "#170a25",
  "rgb": {
    "r": 23,
    "g": 10,
    "b": 37
  },
  "hsl": {
    "h": 268.889,
    "s": 57.447,
    "l": 9.216
  },
  "oklch": {
    "l": 0.18066,
    "c": 0.05465,
    "h": 303.6
  },
  "luminance": 0.00533
}

Semantic roles & 50–950 ramp

primary
#170A25
secondary
#466129
accent
#E14797
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#020104
muted
#787779

Preview Lab

Preview with #170A25

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

Preview Lab → · Contrast checker → · Palette generator →

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