#66198A#66198A

#66198A is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.0% C 0.176 H 311.8°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#66198A
RGBrgb(102, 25, 138)
HSLhsl(281, 69%, 32%)
HSVhsv(281, 82%, 54%)
CMYKcmyk(26.1%, 81.9%, 0%, 45.9%)
CIE-LABlab(27.72, 50.79, -46.30)
CIE-LCHlch(27.72, 68.73, 317.65°)
OKLaboklab(39.99% 0.1172 -0.1312)
OKLCHoklch(39.99% 0.176 311.8)
XYZxyz(10.4137, 5.3553, 24.5249)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66198A #3D8A19
analogous
#2E198A #66198A #8A1976
triadic
#66198A #8A6619 #198A66
tetradic
#66198A #8A2E19 #3D8A19 #19768A
square
#66198A #8A2E19 #3D8A19 #19768A
split-complementary
#66198A #768A19 #198A2E
monochromatic
#190622 #401056 #66198A #8C22BE #AB41DD

Accessibility & contrast

On white

10.14
#66198A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#66198A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66198A
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66198A#FFFFFF#000000##FFFFFF
##66198A1.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.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: #66198a;
/* rgb */ color: rgb(102, 25, 138);
/* oklch */ color: oklch(40.0% 0.176 311.8);
Tailwind
colors: {
  custom: {
    50: '#9660ad',
    500: '#66198a',
    950: '#000000',
  },
}
SCSS
$custom: #66198a;
$custom-light: #9660ad;
$custom-dark: #000000;
JSON
{
  "hex": "#66198a",
  "rgb": {
    "r": 102,
    "g": 25,
    "b": 138
  },
  "hsl": {
    "h": 280.885,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.39992,
    "c": 0.17592,
    "h": 311.8
  },
  "luminance": 0.05355
}

Semantic roles & 50–950 ramp

primary
#66198A
secondary
#69BD42
accent
#EC3C74
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #66198A

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

Preview Lab → · Contrast checker → · Palette generator →

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