#170935#170935

#170935 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.4% C 0.081 H 291.7°. Best body text is #FFFFFF at 18.63:1 contrast (WCAG AA passes).

Color values

HEX#170935
RGBrgb(23, 9, 53)
HSLhsl(259, 71%, 12%)
HSVhsv(259, 83%, 21%)
CMYKcmyk(56.6%, 83%, 0%, 79.2%)
CIE-LABlab(5.73, 19.20, -25.71)
CIE-LCHlch(5.73, 32.09, 306.76°)
OKLaboklab(19.41% 0.0298 -0.075)
OKLCHoklch(19.41% 0.081 291.7)
XYZxyz(1.0935, 0.6345, 3.4323)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170935 #273509
analogous
#091135 #170935 #2D0935
triadic
#170935 #351709 #093517
tetradic
#170935 #350911 #273509 #09352D
square
#170935 #350911 #273509 #09352D
split-complementary
#170935 #352D09 #113509
monochromatic
#0B041A #0B041A #170935 #2E1269 #441B9E

Accessibility & contrast

On white

18.63
#170935 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#170935 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #170935
18.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170935#FFFFFF#000000##FFFFFF
##1709351.0018.631.1318.63
#FFFFFF18.631.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001336
Deuteranopia (green-blind)
#001234
Tritanopia (blue-blind)
#0D141E
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #170935;
/* rgb */ color: rgb(23, 9, 53);
/* oklch */ color: oklch(19.4% 0.081 291.7);
Tailwind
colors: {
  custom: {
    50: '#574a6d',
    500: '#170935',
    950: '#000000',
  },
}
SCSS
$custom: #170935;
$custom-light: #574a6d;
$custom-dark: #000000;
JSON
{
  "hex": "#170935",
  "rgb": {
    "r": 23,
    "g": 9,
    "b": 53
  },
  "hsl": {
    "h": 259.091,
    "s": 70.968,
    "l": 12.157
  },
  "oklch": {
    "l": 0.19409,
    "c": 0.08069,
    "h": 291.7
  },
  "luminance": 0.00635
}

Semantic roles & 50–950 ramp

primary
#170935
secondary
#5B7327
accent
#EE3AB5
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030107
muted
#78777A

Preview Lab

Preview with #170935

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

Preview Lab → · Contrast checker → · Palette generator →

#170935 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva