#66186F#66186F

#66186F is a dark, vivid purple. Relative luminance 0.046; OKLCH L 37.9% C 0.152 H 323.4°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#66186F
RGBrgb(102, 24, 111)
HSLhsl(294, 64%, 26%)
HSVhsv(294, 78%, 44%)
CMYKcmyk(8.1%, 78.4%, 0%, 56.5%)
CIE-LABlab(25.64, 45.63, -32.57)
CIE-LCHlch(25.64, 56.06, 324.48°)
OKLaboklab(37.9% 0.1223 -0.0909)
OKLCHoklch(37.9% 0.152 323.4)
XYZxyz(8.6751, 4.6263, 15.4719)
Luminance0.0463 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66186F #216F18
analogous
#3B186F #66186F #6F184D
triadic
#66186F #6F6618 #186F66
tetradic
#66186F #6F3B18 #216F18 #184D6F
square
#66186F #6F3B18 #216F18 #184D6F
split-complementary
#66186F #4D6F18 #186F3B
monochromatic
#170519 #380D3D #66186F #9423A1 #C12FD2

Accessibility & contrast

On white

10.91
#66186F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#66186F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66186F
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66186F#FFFFFF#000000##FFFFFF
##66186F1.0010.911.9310.91
#FFFFFF10.911.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003771
Deuteranopia (green-blind)
#27406D
Tritanopia (blue-blind)
#682842
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #66186f;
/* rgb */ color: rgb(102, 24, 111);
/* oklch */ color: oklch(37.9% 0.152 323.4);
Tailwind
colors: {
  custom: {
    50: '#955e99',
    500: '#66186f',
    950: '#000000',
  },
}
SCSS
$custom: #66186f;
$custom-light: #955e99;
$custom-dark: #000000;
JSON
{
  "hex": "#66186f",
  "rgb": {
    "r": 102,
    "g": 24,
    "b": 111
  },
  "hsl": {
    "h": 293.793,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.37902,
    "c": 0.15238,
    "h": 323.4
  },
  "luminance": 0.04626
}

Semantic roles & 50–950 ramp

primary
#66186F
secondary
#49A53E
accent
#E74052
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #66186F

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

Preview Lab → · Contrast checker → · Palette generator →

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