#66175F#66175F

#66175F is a dark, vivid purple. Relative luminance 0.043; OKLCH L 36.8% C 0.140 H 331.9°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#66175F
RGBrgb(102, 23, 95)
HSLhsl(305, 63%, 25%)
HSVhsv(305, 77%, 40%)
CMYKcmyk(0%, 77.5%, 6.9%, 60%)
CIE-LABlab(24.53, 43.07, -23.93)
CIE-LCHlch(24.53, 49.27, 330.95°)
OKLaboklab(36.79% 0.1235 -0.0658)
OKLCHoklch(36.79% 0.14 331.9)
XYZxyz(7.8515, 4.2644, 11.2339)
Luminance0.0426 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66175F #17661E
analogous
#451766 #66175F #661738
triadic
#66175F #5F6617 #175F66
tetradic
#66175F #664517 #17661E #173866
square
#66175F #664517 #17661E #173866
split-complementary
#66175F #386617 #176645
monochromatic
#190617 #340C30 #66175F #98228E #CA2EBC

Accessibility & contrast

On white

11.33
#66175F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #66175F
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66175F#FFFFFF#000000##FFFFFF
##66175F1.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113361
Deuteranopia (green-blind)
#303E5D
Tritanopia (blue-blind)
#6B2039
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #66175f;
/* rgb */ color: rgb(102, 23, 95);
/* oklch */ color: oklch(36.8% 0.140 331.9);
Tailwind
colors: {
  custom: {
    50: '#955d8c',
    500: '#66175f',
    950: '#000000',
  },
}
SCSS
$custom: #66175f;
$custom-light: #955d8c;
$custom-dark: #000000;
JSON
{
  "hex": "#66175f",
  "rgb": {
    "r": 102,
    "g": 23,
    "b": 95
  },
  "hsl": {
    "h": 305.316,
    "s": 63.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.36786,
    "c": 0.13994,
    "h": 331.9
  },
  "luminance": 0.04264
}

Semantic roles & 50–950 ramp

primary
#66175F
secondary
#3C9C45
accent
#E65042
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #66175F

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

Preview Lab → · Contrast checker → · Palette generator →

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