#66175B#66175B

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

Color values

HEX#66175B
RGBrgb(102, 23, 91)
HSLhsl(308, 63%, 25%)
HSVhsv(308, 77%, 40%)
CMYKcmyk(0%, 77.5%, 10.8%, 60%)
CIE-LABlab(24.30, 42.39, -21.65)
CIE-LCHlch(24.30, 47.60, 332.95°)
OKLaboklab(36.55% 0.1232 -0.0592)
OKLCHoklch(36.55% 0.137 334.3)
XYZxyz(7.6743, 4.1936, 10.3008)
Luminance0.0419 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66175B #176622
analogous
#4A1766 #66175B #661734
triadic
#66175B #5B6617 #175B66
tetradic
#66175B #664A17 #176622 #173466
square
#66175B #664A17 #176622 #173466
split-complementary
#66175B #346617 #17664A
monochromatic
#190616 #340C2E #66175B #982288 #CA2EB4

Accessibility & contrast

On white

11.42
#66175B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #66175B
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66175B#FFFFFF#000000##FFFFFF
##66175B1.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16325D
Deuteranopia (green-blind)
#323E59
Tritanopia (blue-blind)
#6B1E37
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #66175b;
/* rgb */ color: rgb(102, 23, 91);
/* oklch */ color: oklch(36.5% 0.137 334.3);
Tailwind
colors: {
  custom: {
    50: '#955d89',
    500: '#66175b',
    950: '#000000',
  },
}
SCSS
$custom: #66175b;
$custom-light: #955d89;
$custom-dark: #000000;
JSON
{
  "hex": "#66175b",
  "rgb": {
    "r": 102,
    "g": 23,
    "b": 91
  },
  "hsl": {
    "h": 308.354,
    "s": 63.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.3655,
    "c": 0.13672,
    "h": 334.3
  },
  "luminance": 0.04193
}

Semantic roles & 50–950 ramp

primary
#66175B
secondary
#3C9C4A
accent
#E65842
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E050B
muted
#7E797C

Preview Lab

Preview with #66175B

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

Preview Lab → · Contrast checker → · Palette generator →

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