#170535#170535

#170535 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.7% C 0.087 H 293.7°. Best body text is #FFFFFF at 18.93:1 contrast (WCAG AA passes).

Color values

HEX#170535
RGBrgb(23, 5, 53)
HSLhsl(263, 83%, 11%)
HSVhsv(263, 91%, 21%)
CMYKcmyk(56.6%, 90.6%, 0%, 79.2%)
CIE-LABlab(4.95, 21.07, -26.97)
CIE-LCHlch(4.95, 34.23, 307.99°)
OKLaboklab(18.68% 0.035 -0.0799)
OKLCHoklch(18.68% 0.087 293.7)
XYZxyz(1.0500, 0.5477, 3.4179)
Luminance0.0055 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170535 #233505
analogous
#050B35 #170535 #2F0535
triadic
#170535 #351705 #053517
tetradic
#170535 #35050B #233505 #05352F
square
#170535 #35050B #233505 #05352F
split-complementary
#170535 #352F05 #0B3505
monochromatic
#0C031C #0C031C #170535 #2F0A6D #4810A5

Accessibility & contrast

On white

18.93
#170535 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #170535
18.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170535#FFFFFF#000000##FFFFFF
##1705351.0018.931.1118.93
#FFFFFF18.931.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #170535;
/* rgb */ color: rgb(23, 5, 53);
/* oklch */ color: oklch(18.7% 0.087 293.7);
Tailwind
colors: {
  custom: {
    50: '#57486d',
    500: '#170535',
    950: '#000000',
  },
}
SCSS
$custom: #170535;
$custom-light: #57486d;
$custom-dark: #000000;
JSON
{
  "hex": "#170535",
  "rgb": {
    "r": 23,
    "g": 5,
    "b": 53
  },
  "hsl": {
    "h": 262.5,
    "s": 82.759,
    "l": 11.373
  },
  "oklch": {
    "l": 0.18685,
    "c": 0.08721,
    "h": 293.7
  },
  "luminance": 0.00548
}

Semantic roles & 50–950 ramp

primary
#170535
secondary
#567620
accent
#F92FAD
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030007
muted
#78777A

Preview Lab

Preview with #170535

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

Preview Lab → · Contrast checker → · Palette generator →

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