#170634#170634

#170634 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.8% C 0.084 H 293.8°. Best body text is #FFFFFF at 18.88:1 contrast (WCAG AA passes).

Color values

HEX#170634
RGBrgb(23, 6, 52)
HSLhsl(262, 79%, 11%)
HSVhsv(262, 88%, 20%)
CMYKcmyk(55.8%, 88.5%, 0%, 79.6%)
CIE-LABlab(5.06, 20.15, -26.05)
CIE-LCHlch(5.06, 32.94, 307.72°)
OKLaboklab(18.76% 0.034 -0.077)
OKLCHoklch(18.76% 0.084 293.8)
XYZxyz(1.0381, 0.5603, 3.3016)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170634 #233406
analogous
#060C34 #170634 #2E0634
triadic
#170634 #341706 #063417
tetradic
#170634 #34060C #233406 #06342E
square
#170634 #34060C #233406 #06342E
split-complementary
#170634 #342E06 #0C3406
monochromatic
#0C031B #0C031B #170634 #2F0C6B #4813A2

Accessibility & contrast

On white

18.88
#170634 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #170634
18.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170634#FFFFFF#000000##FFFFFF
##1706341.0018.881.1118.88
#FFFFFF18.881.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001135
Deuteranopia (green-blind)
#001033
Tritanopia (blue-blind)
#0E121C
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #170634;
/* rgb */ color: rgb(23, 6, 52);
/* oklch */ color: oklch(18.8% 0.084 293.8);
Tailwind
colors: {
  custom: {
    50: '#57486c',
    500: '#170634',
    950: '#000000',
  },
}
SCSS
$custom: #170634;
$custom-light: #57486c;
$custom-dark: #000000;
JSON
{
  "hex": "#170634",
  "rgb": {
    "r": 23,
    "g": 6,
    "b": 52
  },
  "hsl": {
    "h": 262.174,
    "s": 79.31,
    "l": 11.373
  },
  "oklch": {
    "l": 0.1876,
    "c": 0.08416,
    "h": 293.8
  },
  "luminance": 0.0056
}

Semantic roles & 50–950 ramp

primary
#170634
secondary
#567421
accent
#F632AD
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030007
muted
#78777A

Preview Lab

Preview with #170634

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

Preview Lab → · Contrast checker → · Palette generator →

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