#66198B#66198B

#66198B is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.1% C 0.177 H 311.4°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#66198B
RGBrgb(102, 25, 139)
HSLhsl(281, 70%, 32%)
HSVhsv(281, 82%, 55%)
CMYKcmyk(26.6%, 82%, 0%, 45.5%)
CIE-LABlab(27.80, 51.00, -46.80)
CIE-LCHlch(27.80, 69.22, 317.46°)
OKLaboklab(40.07% 0.1169 -0.1327)
OKLCHoklch(40.07% 0.177 311.4)
XYZxyz(10.4864, 5.3844, 24.9080)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66198B #3E8B19
analogous
#2D198B #66198B #8B1977
triadic
#66198B #8B6619 #198B66
tetradic
#66198B #8B2D19 #3E8B19 #19778B
square
#66198B #8B2D19 #3E8B19 #19778B
split-complementary
#66198B #778B19 #198B2D
monochromatic
#1A0623 #401057 #66198B #8C22BF #AA41DD

Accessibility & contrast

On white

10.11
#66198B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #66198B
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66198B#FFFFFF#000000##FFFFFF
##66198B1.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8E
Deuteranopia (green-blind)
#004389
Tritanopia (blue-blind)
#613653
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #66198b;
/* rgb */ color: rgb(102, 25, 139);
/* oklch */ color: oklch(40.1% 0.177 311.4);
Tailwind
colors: {
  custom: {
    50: '#9660ae',
    500: '#66198b',
    950: '#000000',
  },
}
SCSS
$custom: #66198b;
$custom-light: #9660ae;
$custom-dark: #000000;
JSON
{
  "hex": "#66198b",
  "rgb": {
    "r": 102,
    "g": 25,
    "b": 139
  },
  "hsl": {
    "h": 280.526,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40072,
    "c": 0.17684,
    "h": 311.4
  },
  "luminance": 0.05384
}

Semantic roles & 50–950 ramp

primary
#66198B
secondary
#6ABE42
accent
#EC3B75
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #66198B

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

Preview Lab → · Contrast checker → · Palette generator →

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