#66188E#66188E

#66188E is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.2% C 0.181 H 310.4°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#66188E
RGBrgb(102, 24, 142)
HSLhsl(280, 71%, 33%)
HSVhsv(280, 83%, 56%)
CMYKcmyk(28.2%, 83.1%, 0%, 44.3%)
CIE-LABlab(27.93, 51.98, -48.45)
CIE-LCHlch(27.93, 71.06, 317.01°)
OKLaboklab(40.24% 0.117 -0.1375)
OKLCHoklch(40.24% 0.181 310.4)
XYZxyz(10.6876, 5.4313, 26.0713)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66188E #408E18
analogous
#2B188E #66188E #8E187B
triadic
#66188E #8E6618 #188E66
tetradic
#66188E #8E2B18 #408E18 #187B8E
square
#66188E #8E2B18 #408E18 #187B8E
split-complementary
#66188E #7B8E18 #188E2B
monochromatic
#1B0625 #400F5A #66188E #8C21C2 #AA41DF

Accessibility & contrast

On white

10.07
#66188E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#66188E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66188E
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66188E#FFFFFF#000000##FFFFFF
##66188E1.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F91
Deuteranopia (green-blind)
#00438C
Tritanopia (blue-blind)
#603754
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #66188e;
/* rgb */ color: rgb(102, 24, 142);
/* oklch */ color: oklch(40.2% 0.181 310.4);
Tailwind
colors: {
  custom: {
    50: '#9660b0',
    500: '#66188e',
    950: '#000000',
  },
}
SCSS
$custom: #66188e;
$custom-light: #9660b0;
$custom-dark: #000000;
JSON
{
  "hex": "#66188e",
  "rgb": {
    "r": 102,
    "g": 24,
    "b": 142
  },
  "hsl": {
    "h": 279.661,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.40236,
    "c": 0.18055,
    "h": 310.4
  },
  "luminance": 0.05431
}

Semantic roles & 50–950 ramp

primary
#66188E
secondary
#6DC042
accent
#EE3A77
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #66188E

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

Preview Lab → · Contrast checker → · Palette generator →

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