#66198C#66198C

#66198C is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.2% C 0.178 H 311.0°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#66198C
RGBrgb(102, 25, 140)
HSLhsl(280, 70%, 32%)
HSVhsv(280, 82%, 55%)
CMYKcmyk(27.1%, 82.1%, 0%, 45.1%)
CIE-LABlab(27.88, 51.22, -47.29)
CIE-LCHlch(27.88, 69.71, 317.29°)
OKLaboklab(40.15% 0.1167 -0.1341)
OKLCHoklch(40.15% 0.178 311)
XYZxyz(10.5598, 5.4138, 25.2945)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66198C #3F8C19
analogous
#2D198C #66198C #8C1979
triadic
#66198C #8C6619 #198C66
tetradic
#66198C #8C2D19 #3F8C19 #19798C
square
#66198C #8C2D19 #3F8C19 #19798C
split-complementary
#66198C #798C19 #198C2D
monochromatic
#1A0624 #401058 #66198C #8C22C0 #AA42DD

Accessibility & contrast

On white

10.08
#66198C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#66198C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66198C
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66198C#FFFFFF#000000##FFFFFF
##66198C1.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8F
Deuteranopia (green-blind)
#00438A
Tritanopia (blue-blind)
#613653
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #66198c;
/* rgb */ color: rgb(102, 25, 140);
/* oklch */ color: oklch(40.2% 0.178 311.0);
Tailwind
colors: {
  custom: {
    50: '#9660ae',
    500: '#66198c',
    950: '#000000',
  },
}
SCSS
$custom: #66198c;
$custom-light: #9660ae;
$custom-dark: #000000;
JSON
{
  "hex": "#66198c",
  "rgb": {
    "r": 102,
    "g": 25,
    "b": 140
  },
  "hsl": {
    "h": 280.174,
    "s": 69.697,
    "l": 32.353
  },
  "oklch": {
    "l": 0.40153,
    "c": 0.17778,
    "h": 311
  },
  "luminance": 0.05413
}

Semantic roles & 50–950 ramp

primary
#66198C
secondary
#6BBE43
accent
#ED3B76
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #66198C

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

Preview Lab → · Contrast checker → · Palette generator →

#66198C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva