#66188A#66188A

#66188A is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.9% C 0.177 H 311.8°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#66188A
RGBrgb(102, 24, 138)
HSLhsl(281, 70%, 32%)
HSVhsv(281, 83%, 54%)
CMYKcmyk(26.1%, 82.6%, 0%, 45.9%)
CIE-LABlab(27.61, 51.12, -46.49)
CIE-LCHlch(27.61, 69.10, 317.72°)
OKLaboklab(39.91% 0.118 -0.1317)
OKLCHoklch(39.91% 0.177 311.8)
XYZxyz(10.3927, 5.3133, 24.5179)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66188A #3C8A18
analogous
#2D188A #66188A #8A1875
triadic
#66188A #8A6618 #188A66
tetradic
#66188A #8A2D18 #3C8A18 #18758A
square
#66188A #8A2D18 #3C8A18 #18758A
split-complementary
#66188A #758A18 #188A2D
monochromatic
#190622 #3F0F56 #66188A #8D21BE #AB3FDE

Accessibility & contrast

On white

10.18
#66188A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#66188A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66188A
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66188A#FFFFFF#000000##FFFFFF
##66188A1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8D
Deuteranopia (green-blind)
#004388
Tritanopia (blue-blind)
#613552
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #66188a;
/* rgb */ color: rgb(102, 24, 138);
/* oklch */ color: oklch(39.9% 0.177 311.8);
Tailwind
colors: {
  custom: {
    50: '#9660ad',
    500: '#66188a',
    950: '#000000',
  },
}
SCSS
$custom: #66188a;
$custom-light: #9660ad;
$custom-dark: #000000;
JSON
{
  "hex": "#66188a",
  "rgb": {
    "r": 102,
    "g": 24,
    "b": 138
  },
  "hsl": {
    "h": 281.053,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.39912,
    "c": 0.17685,
    "h": 311.8
  },
  "luminance": 0.05313
}

Semantic roles & 50–950 ramp

primary
#66188A
secondary
#68BD40
accent
#ED3B73
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #66188A

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

Preview Lab → · Contrast checker → · Palette generator →

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