#170533#170533

#170533 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.5% C 0.085 H 295.0°. Best body text is #FFFFFF at 18.99:1 contrast (WCAG AA passes).

Color values

HEX#170533
RGBrgb(23, 5, 51)
HSLhsl(263, 82%, 11%)
HSVhsv(263, 90%, 20%)
CMYKcmyk(54.9%, 90.2%, 0%, 80%)
CIE-LABlab(4.78, 20.15, -25.76)
CIE-LCHlch(4.78, 32.71, 308.04°)
OKLaboklab(18.46% 0.0357 -0.0766)
OKLCHoklch(18.46% 0.085 295)
XYZxyz(1.0050, 0.5297, 3.1806)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170533 #213305
analogous
#050A33 #170533 #2E0533
triadic
#170533 #331705 #053317
tetradic
#170533 #33050A #213305 #05332E
square
#170533 #33050A #213305 #05332E
split-complementary
#170533 #332E05 #0A3305
monochromatic
#0D031C #0D031C #170533 #300A6B #4910A2

Accessibility & contrast

On white

18.99
#170533 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#170533 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #170533
18.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170533#FFFFFF#000000##FFFFFF
##1705331.0018.991.1118.99
#FFFFFF18.991.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001134
Deuteranopia (green-blind)
#001032
Tritanopia (blue-blind)
#0F111B
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #170533;
/* rgb */ color: rgb(23, 5, 51);
/* oklch */ color: oklch(18.5% 0.085 295.0);
Tailwind
colors: {
  custom: {
    50: '#57486b',
    500: '#170533',
    950: '#000000',
  },
}
SCSS
$custom: #170533;
$custom-light: #57486b;
$custom-dark: #000000;
JSON
{
  "hex": "#170533",
  "rgb": {
    "r": 23,
    "g": 5,
    "b": 51
  },
  "hsl": {
    "h": 263.478,
    "s": 82.143,
    "l": 10.98
  },
  "oklch": {
    "l": 0.18458,
    "c": 0.08457,
    "h": 295
  },
  "luminance": 0.0053
}

Semantic roles & 50–950 ramp

primary
#170533
secondary
#53741F
accent
#F82FAA
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030006
muted
#78777A

Preview Lab

Preview with #170533

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

Preview Lab → · Contrast checker → · Palette generator →

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