#170933#170933

#170933 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.2% C 0.078 H 292.9°. Best body text is #FFFFFF at 18.69:1 contrast (WCAG AA passes).

Color values

HEX#170933
RGBrgb(23, 9, 51)
HSLhsl(260, 70%, 12%)
HSVhsv(260, 82%, 20%)
CMYKcmyk(54.9%, 82.4%, 0%, 80%)
CIE-LABlab(5.57, 18.33, -24.50)
CIE-LCHlch(5.57, 30.60, 306.80°)
OKLaboklab(19.2% 0.0303 -0.0716)
OKLCHoklch(19.2% 0.078 292.9)
XYZxyz(1.0484, 0.6165, 3.1951)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170933 #253309
analogous
#091033 #170933 #2C0933
triadic
#170933 #331709 #093317
tetradic
#170933 #330910 #253309 #09332C
square
#170933 #330910 #253309 #09332C
split-complementary
#170933 #332C09 #103309
monochromatic
#0C051A #0C051A #170933 #2E1267 #461B9B

Accessibility & contrast

On white

18.69
#170933 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#170933 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #170933
18.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170933#FFFFFF#000000##FFFFFF
##1709331.0018.691.1218.69
#FFFFFF18.691.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001334
Deuteranopia (green-blind)
#001132
Tritanopia (blue-blind)
#0F141D
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #170933;
/* rgb */ color: rgb(23, 9, 51);
/* oklch */ color: oklch(19.2% 0.078 292.9);
Tailwind
colors: {
  custom: {
    50: '#574a6b',
    500: '#170933',
    950: '#000000',
  },
}
SCSS
$custom: #170933;
$custom-light: #574a6b;
$custom-dark: #000000;
JSON
{
  "hex": "#170933",
  "rgb": {
    "r": 23,
    "g": 9,
    "b": 51
  },
  "hsl": {
    "h": 260,
    "s": 70,
    "l": 11.765
  },
  "oklch": {
    "l": 0.19199,
    "c": 0.07778,
    "h": 292.9
  },
  "luminance": 0.00617
}

Semantic roles & 50–950 ramp

primary
#170933
secondary
#587127
accent
#ED3BB2
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #170933

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

Preview Lab → · Contrast checker → · Palette generator →

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