#66199F#66199F

#66199F is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.8% C 0.196 H 304.7°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#66199F
RGBrgb(102, 25, 159)
HSLhsl(274, 73%, 36%)
HSVhsv(274, 84%, 62%)
CMYKcmyk(35.8%, 84.3%, 0%, 37.6%)
CIE-LABlab(29.47, 55.42, -56.38)
CIE-LCHlch(29.47, 79.05, 314.51°)
OKLaboklab(41.75% 0.1113 -0.1608)
OKLCHoklch(41.75% 0.196 304.7)
XYZxyz(12.0837, 6.0233, 33.3202)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66199F #529F19
analogous
#23199F #66199F #9F1995
triadic
#66199F #9F6619 #199F66
tetradic
#66199F #9F2319 #529F19 #19959F
square
#66199F #9F2319 #529F19 #19959F
split-complementary
#66199F #959F19 #199F23
monochromatic
#220835 #44116A #66199F #8821D4 #A44FE3

Accessibility & contrast

On white

9.53
#66199F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#66199F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66199F
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66199F#FFFFFF#000000##FFFFFF
##66199F1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#00459C
Tritanopia (blue-blind)
#5B3F5E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #66199f;
/* rgb */ color: rgb(102, 25, 159);
/* oklch */ color: oklch(41.8% 0.196 304.7);
Tailwind
colors: {
  custom: {
    50: '#9862bc',
    500: '#66199f',
    950: '#000000',
  },
}
SCSS
$custom: #66199f;
$custom-light: #9862bc;
$custom-dark: #000000;
JSON
{
  "hex": "#66199f",
  "rgb": {
    "r": 102,
    "g": 25,
    "b": 159
  },
  "hsl": {
    "h": 274.478,
    "s": 72.826,
    "l": 36.078
  },
  "oklch": {
    "l": 0.41752,
    "c": 0.1956,
    "h": 304.7
  },
  "luminance": 0.06023
}

Semantic roles & 50–950 ramp

primary
#66199F
secondary
#81C64E
accent
#F03886
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #66199F

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

Preview Lab → · Contrast checker → · Palette generator →

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