#35173F#35173F

#35173F is a dark, moderate purple. Relative luminance 0.017; OKLCH L 26.8% C 0.079 H 317.0°. Best body text is #FFFFFF at 15.60:1 contrast (WCAG AA passes).

Color values

HEX#35173F
RGBrgb(53, 23, 63)
HSLhsl(285, 47%, 17%)
HSVhsv(285, 63%, 25%)
CMYKcmyk(15.9%, 63.5%, 0%, 75.3%)
CIE-LABlab(13.99, 22.74, -19.40)
CIE-LCHlch(13.99, 29.89, 319.54°)
OKLaboklab(26.82% 0.058 -0.0541)
OKLCHoklch(26.82% 0.079 317)
XYZxyz(2.6717, 1.7287, 4.8946)
Luminance0.0173 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35173F #213F17
analogous
#21173F #35173F #3F1735
triadic
#35173F #3F3517 #173F35
tetradic
#35173F #3F2117 #213F17 #17353F
square
#35173F #3F2117 #213F17 #17353F
split-complementary
#35173F #353F17 #173F21
monochromatic
#130816 #130816 #35173F #5B276C #803899

Accessibility & contrast

On white

15.60
#35173F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#35173F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35173F
15.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35173F#FFFFFF#000000##FFFFFF
##35173F1.0015.601.3515.60
#FFFFFF15.601.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2240
Deuteranopia (green-blind)
#18253E
Tritanopia (blue-blind)
#351D28
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #35173f;
/* rgb */ color: rgb(53, 23, 63);
/* oklch */ color: oklch(26.8% 0.079 317.0);
Tailwind
colors: {
  custom: {
    50: '#6e5674',
    500: '#35173f',
    950: '#000000',
  },
}
SCSS
$custom: #35173f;
$custom-light: #6e5674;
$custom-dark: #000000;
JSON
{
  "hex": "#35173f",
  "rgb": {
    "r": 53,
    "g": 23,
    "b": 63
  },
  "hsl": {
    "h": 285,
    "s": 46.512,
    "l": 16.863
  },
  "oklch": {
    "l": 0.26816,
    "c": 0.07929,
    "h": 317
  },
  "luminance": 0.01729
}

Semantic roles & 50–950 ramp

primary
#35173F
secondary
#4A763C
accent
#D65273
background
#F6F5F7
surface
#ECE9ED
border
#C7C5C8
text
#070308
muted
#7A787B

Preview Lab

Preview with #35173F

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

Preview Lab → · Contrast checker → · Palette generator →

#35173F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva