#170132#170132

#170132 is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 17.5% C 0.091 H 297.8°. Best body text is #FFFFFF at 19.32:1 contrast (WCAG AA passes).

Color values

HEX#170132
RGBrgb(23, 1, 50)
HSLhsl(267, 96%, 10%)
HSVhsv(267, 98%, 20%)
CMYKcmyk(54%, 98%, 0%, 80.4%)
CIE-LABlab(3.92, 21.45, -26.40)
CIE-LCHlch(3.92, 34.02, 309.09°)
OKLaboklab(17.53% 0.0425 -0.0806)
OKLCHoklch(17.53% 0.091 297.8)
XYZxyz(0.9398, 0.4341, 3.0513)
Luminance0.0043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170132 #1C3201
analogous
#010332 #170132 #300132
triadic
#170132 #321701 #013217
tetradic
#170132 #320103 #1C3201 #013230
square
#170132 #320103 #1C3201 #013230
split-complementary
#170132 #323001 #033201
monochromatic
#0E011E #0E011E #170132 #33026E #4E03AA

Accessibility & contrast

On white

19.32
#170132 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#170132 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #170132
19.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170132#FFFFFF#000000##FFFFFF
##1701321.0019.321.0919.32
#FFFFFF19.321.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E33
Deuteranopia (green-blind)
#000D31
Tritanopia (blue-blind)
#100E19
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #170132;
/* rgb */ color: rgb(23, 1, 50);
/* oklch */ color: oklch(17.5% 0.091 297.8);
Tailwind
colors: {
  custom: {
    50: '#56466a',
    500: '#170132',
    950: '#000000',
  },
}
SCSS
$custom: #170132;
$custom-light: #56466a;
$custom-dark: #000000;
JSON
{
  "hex": "#170132",
  "rgb": {
    "r": 23,
    "g": 1,
    "b": 50
  },
  "hsl": {
    "h": 266.939,
    "s": 96.078,
    "l": 10
  },
  "oklch": {
    "l": 0.1753,
    "c": 0.09114,
    "h": 297.8
  },
  "luminance": 0.00434
}

Semantic roles & 50–950 ramp

primary
#170132
secondary
#4C7717
accent
#FF299F
background
#F5F3F6
surface
#E9E5EB
border
#C5C1C6
text
#030006
muted
#78777A

Preview Lab

Preview with #170132

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

Preview Lab → · Contrast checker → · Palette generator →

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