#170934#170934

#170934 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.3% C 0.079 H 292.3°. Best body text is #FFFFFF at 18.67:1 contrast (WCAG AA passes).

Color values

HEX#170934
RGBrgb(23, 9, 52)
HSLhsl(260, 70%, 12%)
HSVhsv(260, 83%, 20%)
CMYKcmyk(55.8%, 82.7%, 0%, 79.6%)
CIE-LABlab(5.65, 18.77, -25.11)
CIE-LCHlch(5.65, 31.35, 306.78°)
OKLaboklab(19.3% 0.03 -0.0733)
OKLCHoklch(19.3% 0.079 292.3)
XYZxyz(1.0707, 0.6254, 3.3125)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170934 #263409
analogous
#091134 #170934 #2D0934
triadic
#170934 #341709 #093417
tetradic
#170934 #340911 #263409 #09342D
square
#170934 #340911 #263409 #09342D
split-complementary
#170934 #342D09 #113409
monochromatic
#0C051A #0C051A #170934 #2E1268 #451B9C

Accessibility & contrast

On white

18.67
#170934 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #170934
18.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170934#FFFFFF#000000##FFFFFF
##1709341.0018.671.1318.67
#FFFFFF18.671.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001335
Deuteranopia (green-blind)
#001233
Tritanopia (blue-blind)
#0E141D
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #170934;
/* rgb */ color: rgb(23, 9, 52);
/* oklch */ color: oklch(19.3% 0.079 292.3);
Tailwind
colors: {
  custom: {
    50: '#574a6c',
    500: '#170934',
    950: '#000000',
  },
}
SCSS
$custom: #170934;
$custom-light: #574a6c;
$custom-dark: #000000;
JSON
{
  "hex": "#170934",
  "rgb": {
    "r": 23,
    "g": 9,
    "b": 52
  },
  "hsl": {
    "h": 259.535,
    "s": 70.492,
    "l": 11.961
  },
  "oklch": {
    "l": 0.19303,
    "c": 0.07924,
    "h": 292.3
  },
  "luminance": 0.00625
}

Semantic roles & 50–950 ramp

primary
#170934
secondary
#5A7227
accent
#ED3BB3
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030107
muted
#78777A

Preview Lab

Preview with #170934

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

Preview Lab → · Contrast checker → · Palette generator →

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