#170635#170635

#170635 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.9% C 0.086 H 293.2°. Best body text is #FFFFFF at 18.85:1 contrast (WCAG AA passes).

Color values

HEX#170635
RGBrgb(23, 6, 53)
HSLhsl(262, 80%, 12%)
HSVhsv(262, 89%, 21%)
CMYKcmyk(56.6%, 88.7%, 0%, 79.2%)
CIE-LABlab(5.14, 20.61, -26.66)
CIE-LCHlch(5.14, 33.69, 307.70°)
OKLaboklab(18.87% 0.0337 -0.0786)
OKLCHoklch(18.87% 0.086 293.2)
XYZxyz(1.0609, 0.5694, 3.4215)
Luminance0.0057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170635 #243506
analogous
#060D35 #170635 #2F0635
triadic
#170635 #351706 #063517
tetradic
#170635 #35060D #243506 #06352F
square
#170635 #35060D #243506 #06352F
split-complementary
#170635 #352F06 #0D3506
monochromatic
#0C031B #0C031B #170635 #2F0C6C #4712A3

Accessibility & contrast

On white

18.85
#170635 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #170635
18.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170635#FFFFFF#000000##FFFFFF
##1706351.0018.851.1118.85
#FFFFFF18.851.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001236
Deuteranopia (green-blind)
#001034
Tritanopia (blue-blind)
#0E131D
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #170635;
/* rgb */ color: rgb(23, 6, 53);
/* oklch */ color: oklch(18.9% 0.086 293.2);
Tailwind
colors: {
  custom: {
    50: '#57486d',
    500: '#170635',
    950: '#000000',
  },
}
SCSS
$custom: #170635;
$custom-light: #57486d;
$custom-dark: #000000;
JSON
{
  "hex": "#170635",
  "rgb": {
    "r": 23,
    "g": 6,
    "b": 53
  },
  "hsl": {
    "h": 261.702,
    "s": 79.661,
    "l": 11.569
  },
  "oklch": {
    "l": 0.18871,
    "c": 0.08552,
    "h": 293.2
  },
  "luminance": 0.00569
}

Semantic roles & 50–950 ramp

primary
#170635
secondary
#577521
accent
#F632AF
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030007
muted
#78777A

Preview Lab

Preview with #170635

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

Preview Lab → · Contrast checker → · Palette generator →

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