#170735#170735

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

Color values

HEX#170735
RGBrgb(23, 7, 53)
HSLhsl(261, 77%, 12%)
HSVhsv(261, 87%, 21%)
CMYKcmyk(56.6%, 86.8%, 0%, 79.2%)
CIE-LABlab(5.34, 20.14, -26.34)
CIE-LCHlch(5.34, 33.16, 307.40°)
OKLaboklab(19.05% 0.0323 -0.0774)
OKLCHoklch(19.05% 0.084 292.7)
XYZxyz(1.0718, 0.5911, 3.4251)
Luminance0.0059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170735 #253507
analogous
#070E35 #170735 #2E0735
triadic
#170735 #351707 #073517
tetradic
#170735 #35070E #253507 #07352E
square
#170735 #35070E #253507 #07352E
split-complementary
#170735 #352E07 #0E3507
monochromatic
#0C041B #0C041B #170735 #2E0E6B #4615A1

Accessibility & contrast

On white

18.78
#170735 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#170735 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #170735
18.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170735#FFFFFF#000000##FFFFFF
##1707351.0018.781.1218.78
#FFFFFF18.781.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #170735;
/* rgb */ color: rgb(23, 7, 53);
/* oklch */ color: oklch(19.1% 0.084 292.7);
Tailwind
colors: {
  custom: {
    50: '#57496d',
    500: '#170735',
    950: '#000000',
  },
}
SCSS
$custom: #170735;
$custom-light: #57496d;
$custom-dark: #000000;
JSON
{
  "hex": "#170735",
  "rgb": {
    "r": 23,
    "g": 7,
    "b": 53
  },
  "hsl": {
    "h": 260.87,
    "s": 76.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.19054,
    "c": 0.08386,
    "h": 292.7
  },
  "luminance": 0.00591
}

Semantic roles & 50–950 ramp

primary
#170735
secondary
#587523
accent
#F335B1
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030107
muted
#78777A

Preview Lab

Preview with #170735

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

Preview Lab → · Contrast checker → · Palette generator →

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