#66199D#66199D

#66199D is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.6% C 0.194 H 305.3°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#66199D
RGBrgb(102, 25, 157)
HSLhsl(275, 73%, 36%)
HSVhsv(275, 84%, 62%)
CMYKcmyk(35%, 84.1%, 0%, 38.4%)
CIE-LABlab(29.30, 54.97, -55.44)
CIE-LCHlch(29.30, 78.07, 314.75°)
OKLaboklab(41.58% 0.112 -0.1581)
OKLCHoklch(41.58% 0.194 305.3)
XYZxyz(11.9115, 5.9544, 32.4136)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66199D #509D19
analogous
#24199D #66199D #9D1992
triadic
#66199D #9D6619 #199D66
tetradic
#66199D #9D2419 #509D19 #19929D
square
#66199D #9D2419 #509D19 #19929D
split-complementary
#66199D #929D19 #199D24
monochromatic
#210833 #441168 #66199D #8821D2 #A54EE3

Accessibility & contrast

On white

9.59
#66199D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#66199D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66199D
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66199D#FFFFFF#000000##FFFFFF
##66199D1.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A0
Deuteranopia (green-blind)
#00459B
Tritanopia (blue-blind)
#5B3E5D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #66199d;
/* rgb */ color: rgb(102, 25, 157);
/* oklch */ color: oklch(41.6% 0.194 305.3);
Tailwind
colors: {
  custom: {
    50: '#9861bb',
    500: '#66199d',
    950: '#000000',
  },
}
SCSS
$custom: #66199d;
$custom-light: #9861bb;
$custom-dark: #000000;
JSON
{
  "hex": "#66199d",
  "rgb": {
    "r": 102,
    "g": 25,
    "b": 157
  },
  "hsl": {
    "h": 275,
    "s": 72.527,
    "l": 35.686
  },
  "oklch": {
    "l": 0.41577,
    "c": 0.19372,
    "h": 305.3
  },
  "luminance": 0.05954
}

Semantic roles & 50–950 ramp

primary
#66199D
secondary
#7FC54D
accent
#EF3985
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #66199D

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

Preview Lab → · Contrast checker → · Palette generator →

#66199D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva