#66188D#66188D

#66188D is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.2% C 0.180 H 310.7°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#66188D
RGBrgb(102, 24, 141)
HSLhsl(280, 71%, 32%)
HSVhsv(280, 83%, 55%)
CMYKcmyk(27.7%, 83%, 0%, 44.7%)
CIE-LABlab(27.85, 51.77, -47.96)
CIE-LCHlch(27.85, 70.57, 317.18°)
OKLaboklab(40.16% 0.1172 -0.1361)
OKLCHoklch(40.16% 0.18 310.7)
XYZxyz(10.6129, 5.4014, 25.6776)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66188D #3F8D18
analogous
#2C188D #66188D #8D187A
triadic
#66188D #8D6618 #188D66
tetradic
#66188D #8D2C18 #3F8D18 #187A8D
square
#66188D #8D2C18 #3F8D18 #187A8D
split-complementary
#66188D #7A8D18 #188D2C
monochromatic
#1A0624 #400F59 #66188D #8C21C1 #AA41DF

Accessibility & contrast

On white

10.10
#66188D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#66188D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66188D
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66188D#FFFFFF#000000##FFFFFF
##66188D1.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E90
Deuteranopia (green-blind)
#00438B
Tritanopia (blue-blind)
#613654
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #66188d;
/* rgb */ color: rgb(102, 24, 141);
/* oklch */ color: oklch(40.2% 0.180 310.7);
Tailwind
colors: {
  custom: {
    50: '#9660af',
    500: '#66188d',
    950: '#000000',
  },
}
SCSS
$custom: #66188d;
$custom-light: #9660af;
$custom-dark: #000000;
JSON
{
  "hex": "#66188d",
  "rgb": {
    "r": 102,
    "g": 24,
    "b": 141
  },
  "hsl": {
    "h": 280,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.40155,
    "c": 0.17963,
    "h": 310.7
  },
  "luminance": 0.05401
}

Semantic roles & 50–950 ramp

primary
#66188D
secondary
#6BBF42
accent
#EE3A76
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #66188D

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

Preview Lab → · Contrast checker → · Palette generator →

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