#170633#170633

#170633 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.6% C 0.083 H 294.5°. Best body text is #FFFFFF at 18.92:1 contrast (WCAG AA passes).

Color values

HEX#170633
RGBrgb(23, 6, 51)
HSLhsl(263, 79%, 11%)
HSVhsv(263, 88%, 20%)
CMYKcmyk(54.9%, 88.2%, 0%, 80%)
CIE-LABlab(4.98, 19.70, -25.44)
CIE-LCHlch(4.98, 32.18, 307.75°)
OKLaboklab(18.65% 0.0343 -0.0753)
OKLCHoklch(18.65% 0.083 294.5)
XYZxyz(1.0159, 0.5514, 3.1842)
Luminance0.0055 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170633 #223306
analogous
#060B33 #170633 #2D0633
triadic
#170633 #331706 #063317
tetradic
#170633 #33060B #223306 #06332D
square
#170633 #33060B #223306 #06332D
split-complementary
#170633 #332D06 #0B3306
monochromatic
#0C031B #0C031B #170633 #300C6A #4813A1

Accessibility & contrast

On white

18.92
#170633 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #170633
18.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170633#FFFFFF#000000##FFFFFF
##1706331.0018.921.1118.92
#FFFFFF18.921.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #170633;
/* rgb */ color: rgb(23, 6, 51);
/* oklch */ color: oklch(18.6% 0.083 294.5);
Tailwind
colors: {
  custom: {
    50: '#57486b',
    500: '#170633',
    950: '#000000',
  },
}
SCSS
$custom: #170633;
$custom-light: #57486b;
$custom-dark: #000000;
JSON
{
  "hex": "#170633",
  "rgb": {
    "r": 23,
    "g": 6,
    "b": 51
  },
  "hsl": {
    "h": 262.667,
    "s": 78.947,
    "l": 11.176
  },
  "oklch": {
    "l": 0.18649,
    "c": 0.08279,
    "h": 294.5
  },
  "luminance": 0.00551
}

Semantic roles & 50–950 ramp

primary
#170633
secondary
#547421
accent
#F532AC
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030006
muted
#78777A

Preview Lab

Preview with #170633

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

Preview Lab → · Contrast checker → · Palette generator →

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