#170632#170632

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

Color values

HEX#170632
RGBrgb(23, 6, 50)
HSLhsl(263, 79%, 11%)
HSVhsv(263, 88%, 20%)
CMYKcmyk(54%, 88%, 0%, 80.4%)
CIE-LABlab(4.90, 19.25, -24.83)
CIE-LCHlch(4.90, 31.42, 307.78°)
OKLaboklab(18.54% 0.0346 -0.0737)
OKLCHoklch(18.54% 0.081 295.2)
XYZxyz(0.9940, 0.5427, 3.0694)
Luminance0.0054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170632 #213206
analogous
#060B32 #170632 #2D0632
triadic
#170632 #321706 #063217
tetradic
#170632 #32060B #213206 #06322D
square
#170632 #32060B #213206 #06322D
split-complementary
#170632 #322D06 #0B3206
monochromatic
#0D031B #0D031B #170632 #300D69 #49139F

Accessibility & contrast

On white

18.94
#170632 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #170632
18.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170632#FFFFFF#000000##FFFFFF
##1706321.0018.941.1118.94
#FFFFFF18.941.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001133
Deuteranopia (green-blind)
#001031
Tritanopia (blue-blind)
#0F111B
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #170632;
/* rgb */ color: rgb(23, 6, 50);
/* oklch */ color: oklch(18.5% 0.081 295.2);
Tailwind
colors: {
  custom: {
    50: '#57486a',
    500: '#170632',
    950: '#000000',
  },
}
SCSS
$custom: #170632;
$custom-light: #57486a;
$custom-dark: #000000;
JSON
{
  "hex": "#170632",
  "rgb": {
    "r": 23,
    "g": 6,
    "b": 50
  },
  "hsl": {
    "h": 263.182,
    "s": 78.571,
    "l": 10.98
  },
  "oklch": {
    "l": 0.18539,
    "c": 0.08143,
    "h": 295.2
  },
  "luminance": 0.00543
}

Semantic roles & 50–950 ramp

primary
#170632
secondary
#537321
accent
#F533AA
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030006
muted
#78777A

Preview Lab

Preview with #170632

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

Preview Lab → · Contrast checker → · Palette generator →

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