#66175E#66175E

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

Color values

HEX#66175E
RGBrgb(102, 23, 94)
HSLhsl(306, 63%, 25%)
HSVhsv(306, 77%, 40%)
CMYKcmyk(0%, 77.5%, 7.8%, 60%)
CIE-LABlab(24.47, 42.90, -23.36)
CIE-LCHlch(24.47, 48.85, 331.43°)
OKLaboklab(36.73% 0.1234 -0.0642)
OKLCHoklch(36.73% 0.139 332.5)
XYZxyz(7.8063, 4.2464, 10.9960)
Luminance0.0425 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66175E #17661F
analogous
#471766 #66175E #661737
triadic
#66175E #5E6617 #175E66
tetradic
#66175E #664717 #17661F #173766
square
#66175E #664717 #17661F #173766
split-complementary
#66175E #376617 #176647
monochromatic
#190617 #340C30 #66175E #98228C #CA2EBA

Accessibility & contrast

On white

11.36
#66175E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #66175E
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66175E#FFFFFF#000000##FFFFFF
##66175E1.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133360
Deuteranopia (green-blind)
#313E5C
Tritanopia (blue-blind)
#6B2039
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #66175e;
/* rgb */ color: rgb(102, 23, 94);
/* oklch */ color: oklch(36.7% 0.139 332.5);
Tailwind
colors: {
  custom: {
    50: '#955d8c',
    500: '#66175e',
    950: '#000000',
  },
}
SCSS
$custom: #66175e;
$custom-light: #955d8c;
$custom-dark: #000000;
JSON
{
  "hex": "#66175e",
  "rgb": {
    "r": 102,
    "g": 23,
    "b": 94
  },
  "hsl": {
    "h": 306.076,
    "s": 63.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.36726,
    "c": 0.13912,
    "h": 332.5
  },
  "luminance": 0.04246
}

Semantic roles & 50–950 ramp

primary
#66175E
secondary
#3C9C46
accent
#E65242
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #66175E

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

Preview Lab → · Contrast checker → · Palette generator →

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