#170432#170432

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

Color values

HEX#170432
RGBrgb(23, 4, 50)
HSLhsl(265, 85%, 11%)
HSVhsv(265, 92%, 20%)
CMYKcmyk(54%, 92%, 0%, 80.4%)
CIE-LABlab(4.51, 20.13, -25.46)
CIE-LCHlch(4.51, 32.46, 308.34°)
OKLaboklab(18.15% 0.0376 -0.0764)
OKLCHoklch(18.15% 0.085 296.2)
XYZxyz(0.9723, 0.4993, 3.0621)
Luminance0.0050 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170432 #1F3204
analogous
#040832 #170432 #2E0432
triadic
#170432 #321704 #043217
tetradic
#170432 #320408 #1F3204 #04322E
square
#170432 #320408 #1F3204 #04322E
split-complementary
#170432 #322E04 #083204
monochromatic
#0D021C #0D021C #170432 #31096B #4B0DA3

Accessibility & contrast

On white

19.09
#170432 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#170432 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #170432
19.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170432#FFFFFF#000000##FFFFFF
##1704321.0019.091.1019.09
#FFFFFF19.091.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001033
Deuteranopia (green-blind)
#000F31
Tritanopia (blue-blind)
#0F101A
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #170432;
/* rgb */ color: rgb(23, 4, 50);
/* oklch */ color: oklch(18.1% 0.085 296.2);
Tailwind
colors: {
  custom: {
    50: '#56476a',
    500: '#170432',
    950: '#000000',
  },
}
SCSS
$custom: #170432;
$custom-light: #56476a;
$custom-dark: #000000;
JSON
{
  "hex": "#170432",
  "rgb": {
    "r": 23,
    "g": 4,
    "b": 50
  },
  "hsl": {
    "h": 264.783,
    "s": 85.185,
    "l": 10.588
  },
  "oklch": {
    "l": 0.18149,
    "c": 0.08512,
    "h": 296.2
  },
  "luminance": 0.00499
}

Semantic roles & 50–950 ramp

primary
#170432
secondary
#50741D
accent
#FB2CA6
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030006
muted
#78777A

Preview Lab

Preview with #170432

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

Preview Lab → · Contrast checker → · Palette generator →

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