#170833#170833

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

Color values

HEX#170833
RGBrgb(23, 8, 51)
HSLhsl(261, 73%, 12%)
HSVhsv(261, 84%, 20%)
CMYKcmyk(54.9%, 84.3%, 0%, 80%)
CIE-LABlab(5.37, 18.79, -24.82)
CIE-LCHlch(5.37, 31.13, 307.14°)
OKLaboklab(19.02% 0.0316 -0.0728)
OKLCHoklch(19.02% 0.079 293.4)
XYZxyz(1.0376, 0.5948, 3.1915)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170833 #243308
analogous
#080F33 #170833 #2D0833
triadic
#170833 #331708 #083317
tetradic
#170833 #33080F #243308 #08332D
square
#170833 #33080F #243308 #08332D
split-complementary
#170833 #332D08 #0F3308
monochromatic
#0C041A #0C041A #170833 #2F1068 #47199D

Accessibility & contrast

On white

18.77
#170833 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #170833
18.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170833#FFFFFF#000000##FFFFFF
##1708331.0018.771.1218.77
#FFFFFF18.771.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #170833;
/* rgb */ color: rgb(23, 8, 51);
/* oklch */ color: oklch(19.0% 0.079 293.4);
Tailwind
colors: {
  custom: {
    50: '#57496b',
    500: '#170833',
    950: '#000000',
  },
}
SCSS
$custom: #170833;
$custom-light: #57496b;
$custom-dark: #000000;
JSON
{
  "hex": "#170833",
  "rgb": {
    "r": 23,
    "g": 8,
    "b": 51
  },
  "hsl": {
    "h": 260.93,
    "s": 72.881,
    "l": 11.569
  },
  "oklch": {
    "l": 0.19019,
    "c": 0.0794,
    "h": 293.4
  },
  "luminance": 0.00595
}

Semantic roles & 50–950 ramp

primary
#170833
secondary
#577225
accent
#F038B0
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #170833

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

Preview Lab → · Contrast checker → · Palette generator →

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