#66198F#66198F

#66198F is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.4% C 0.181 H 310.0°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#66198F
RGBrgb(102, 25, 143)
HSLhsl(279, 70%, 33%)
HSVhsv(279, 83%, 56%)
CMYKcmyk(28.7%, 82.5%, 0%, 43.9%)
CIE-LABlab(28.12, 51.87, -48.76)
CIE-LCHlch(28.12, 71.19, 316.77°)
OKLaboklab(40.4% 0.116 -0.1384)
OKLCHoklch(40.4% 0.181 310)
XYZxyz(10.7841, 5.5034, 26.4755)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66198F #428F19
analogous
#2B198F #66198F #8F197D
triadic
#66198F #8F6619 #198F66
tetradic
#66198F #8F2B19 #428F19 #197D8F
square
#66198F #8F2B19 #428F19 #197D8F
split-complementary
#66198F #7D8F19 #198F2B
monochromatic
#1C0727 #41105B #66198F #8B22C3 #A944DE

Accessibility & contrast

On white

10.00
#66198F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#66198F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66198F
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66198F#FFFFFF#000000##FFFFFF
##66198F1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F92
Deuteranopia (green-blind)
#00438D
Tritanopia (blue-blind)
#603855
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #66198f;
/* rgb */ color: rgb(102, 25, 143);
/* oklch */ color: oklch(40.4% 0.181 310.0);
Tailwind
colors: {
  custom: {
    50: '#9661b1',
    500: '#66198f',
    950: '#000000',
  },
}
SCSS
$custom: #66198f;
$custom-light: #9661b1;
$custom-dark: #000000;
JSON
{
  "hex": "#66198f",
  "rgb": {
    "r": 102,
    "g": 25,
    "b": 143
  },
  "hsl": {
    "h": 279.153,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.40397,
    "c": 0.18058,
    "h": 310
  },
  "luminance": 0.05503
}

Semantic roles & 50–950 ramp

primary
#66198F
secondary
#6FBF44
accent
#ED3B79
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #66198F

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

Preview Lab → · Contrast checker → · Palette generator →

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