#66198E#66198E

#66198E is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.3% C 0.180 H 310.3°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#66198E
RGBrgb(102, 25, 142)
HSLhsl(279, 70%, 33%)
HSVhsv(279, 82%, 56%)
CMYKcmyk(28.2%, 82.4%, 0%, 44.3%)
CIE-LABlab(28.04, 51.65, -48.27)
CIE-LCHlch(28.04, 70.69, 316.94°)
OKLaboklab(40.32% 0.1162 -0.137)
OKLCHoklch(40.32% 0.18 310.3)
XYZxyz(10.7086, 5.4733, 26.0783)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66198E #418E19
analogous
#2B198E #66198E #8E197C
triadic
#66198E #8E6619 #198E66
tetradic
#66198E #8E2B19 #418E19 #197C8E
square
#66198E #8E2B19 #418E19 #197C8E
split-complementary
#66198E #7C8E19 #198E2B
monochromatic
#1B0726 #41105A #66198E #8B22C2 #A943DE

Accessibility & contrast

On white

10.03
#66198E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #66198E
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66198E#FFFFFF#000000##FFFFFF
##66198E1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.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: #66198e;
/* rgb */ color: rgb(102, 25, 142);
/* oklch */ color: oklch(40.3% 0.180 310.3);
Tailwind
colors: {
  custom: {
    50: '#9661b0',
    500: '#66198e',
    950: '#000000',
  },
}
SCSS
$custom: #66198e;
$custom-light: #9661b0;
$custom-dark: #000000;
JSON
{
  "hex": "#66198e",
  "rgb": {
    "r": 102,
    "g": 25,
    "b": 142
  },
  "hsl": {
    "h": 279.487,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.40315,
    "c": 0.17964,
    "h": 310.3
  },
  "luminance": 0.05473
}

Semantic roles & 50–950 ramp

primary
#66198E
secondary
#6EBF44
accent
#ED3B78
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #66198E

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

Preview Lab → · Contrast checker → · Palette generator →

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