#171035#171035

#171035 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.7% C 0.069 H 287.4°. Best body text is #FFFFFF at 18.07:1 contrast (WCAG AA passes).

Color values

HEX#171035
RGBrgb(23, 16, 53)
HSLhsl(251, 54%, 14%)
HSVhsv(251, 70%, 21%)
CMYKcmyk(56.6%, 69.8%, 0%, 79.2%)
CIE-LABlab(7.31, 15.32, -23.16)
CIE-LCHlch(7.31, 27.77, 303.48°)
OKLaboklab(20.72% 0.0208 -0.0663)
OKLCHoklch(20.72% 0.069 287.4)
XYZxyz(1.1811, 0.8097, 3.4615)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171035 #2E3510
analogous
#101B35 #171035 #291035
triadic
#171035 #351710 #103517
tetradic
#171035 #35101B #2E3510 #103529
square
#171035 #35101B #2E3510 #103529
split-complementary
#171035 #352910 #1B3510
monochromatic
#0A0718 #0A0718 #171035 #2B1E64 #402C93

Accessibility & contrast

On white

18.07
#171035 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#171035 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171035
18.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171035#FFFFFF#000000##FFFFFF
##1710351.0018.071.1618.07
#FFFFFF18.071.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001736
Deuteranopia (green-blind)
#001534
Tritanopia (blue-blind)
#0D1820
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #171035;
/* rgb */ color: rgb(23, 16, 53);
/* oklch */ color: oklch(20.7% 0.069 287.4);
Tailwind
colors: {
  custom: {
    50: '#574e6c',
    500: '#171035',
    950: '#000000',
  },
}
SCSS
$custom: #171035;
$custom-light: #574e6c;
$custom-dark: #000000;
JSON
{
  "hex": "#171035",
  "rgb": {
    "r": 23,
    "g": 16,
    "b": 53
  },
  "hsl": {
    "h": 251.351,
    "s": 53.623,
    "l": 13.529
  },
  "oklch": {
    "l": 0.20724,
    "c": 0.06949,
    "h": 287.4
  },
  "luminance": 0.0081
}

Semantic roles & 50–950 ramp

primary
#171035
secondary
#636F32
accent
#DD4BC1
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030107
muted
#78777A

Preview Lab

Preview with #171035

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

Preview Lab → · Contrast checker → · Palette generator →

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