#66175D#66175D

#66175D is a dark, vivid purple. Relative luminance 0.042; OKLCH L 36.7% C 0.138 H 333.1°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#66175D
RGBrgb(102, 23, 93)
HSLhsl(307, 63%, 25%)
HSVhsv(307, 77%, 40%)
CMYKcmyk(0%, 77.5%, 8.8%, 60%)
CIE-LABlab(24.41, 42.73, -22.79)
CIE-LCHlch(24.41, 48.43, 331.93°)
OKLaboklab(36.67% 0.1234 -0.0625)
OKLCHoklch(36.67% 0.138 333.1)
XYZxyz(7.7617, 4.2285, 10.7612)
Luminance0.0423 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66175D #176620
analogous
#471766 #66175D #661736
triadic
#66175D #5D6617 #175D66
tetradic
#66175D #664717 #176620 #173666
square
#66175D #664717 #176620 #173666
split-complementary
#66175D #366617 #176647
monochromatic
#190617 #340C2F #66175D #98228B #CA2EB8

Accessibility & contrast

On white

11.38
#66175D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#66175D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66175D
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66175D#FFFFFF#000000##FFFFFF
##66175D1.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14335F
Deuteranopia (green-blind)
#313E5B
Tritanopia (blue-blind)
#6B1F38
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #66175d;
/* rgb */ color: rgb(102, 23, 93);
/* oklch */ color: oklch(36.7% 0.138 333.1);
Tailwind
colors: {
  custom: {
    50: '#955d8b',
    500: '#66175d',
    950: '#000000',
  },
}
SCSS
$custom: #66175d;
$custom-light: #955d8b;
$custom-dark: #000000;
JSON
{
  "hex": "#66175d",
  "rgb": {
    "r": 102,
    "g": 23,
    "b": 93
  },
  "hsl": {
    "h": 306.835,
    "s": 63.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.36667,
    "c": 0.13832,
    "h": 333.1
  },
  "luminance": 0.04228
}

Semantic roles & 50–950 ramp

primary
#66175D
secondary
#3C9C47
accent
#E65442
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #66175D

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

Preview Lab → · Contrast checker → · Palette generator →

#66175D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva