#66175A#66175A

#66175A is a dark, vivid purple. Relative luminance 0.042; OKLCH L 36.5% C 0.136 H 334.9°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#66175A
RGBrgb(102, 23, 90)
HSLhsl(309, 63%, 25%)
HSVhsv(309, 77%, 40%)
CMYKcmyk(0%, 77.5%, 11.8%, 60%)
CIE-LABlab(24.25, 42.23, -21.07)
CIE-LCHlch(24.25, 47.19, 333.48°)
OKLaboklab(36.49% 0.1231 -0.0576)
OKLCHoklch(36.49% 0.136 334.9)
XYZxyz(7.6314, 4.1764, 10.0751)
Luminance0.0418 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66175A #176623
analogous
#4B1766 #66175A #661733
triadic
#66175A #5A6617 #175A66
tetradic
#66175A #664B17 #176623 #173366
square
#66175A #664B17 #176623 #173366
split-complementary
#66175A #336617 #17664B
monochromatic
#190616 #340C2E #66175A #982286 #CA2EB2

Accessibility & contrast

On white

11.44
#66175A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#66175A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66175A
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66175A#FFFFFF#000000##FFFFFF
##66175A1.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17325C
Deuteranopia (green-blind)
#333E58
Tritanopia (blue-blind)
#6B1E37
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #66175a;
/* rgb */ color: rgb(102, 23, 90);
/* oklch */ color: oklch(36.5% 0.136 334.9);
Tailwind
colors: {
  custom: {
    50: '#955d89',
    500: '#66175a',
    950: '#000000',
  },
}
SCSS
$custom: #66175a;
$custom-light: #955d89;
$custom-dark: #000000;
JSON
{
  "hex": "#66175a",
  "rgb": {
    "r": 102,
    "g": 23,
    "b": 90
  },
  "hsl": {
    "h": 309.114,
    "s": 63.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.36493,
    "c": 0.13593,
    "h": 334.9
  },
  "luminance": 0.04176
}

Semantic roles & 50–950 ramp

primary
#66175A
secondary
#3C9C4B
accent
#E65B42
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E050B
muted
#7E797C

Preview Lab

Preview with #66175A

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

Preview Lab → · Contrast checker → · Palette generator →

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