#66189F#66189F

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

Color values

HEX#66189F
RGBrgb(102, 24, 159)
HSLhsl(275, 74%, 36%)
HSVhsv(275, 85%, 62%)
CMYKcmyk(35.8%, 84.9%, 0%, 37.6%)
CIE-LABlab(29.37, 55.73, -56.55)
CIE-LCHlch(29.37, 79.40, 314.58°)
OKLaboklab(41.68% 0.112 -0.1613)
OKLCHoklch(41.68% 0.196 304.8)
XYZxyz(12.0627, 5.9813, 33.3132)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66189F #519F18
analogous
#23189F #66189F #9F1894
triadic
#66189F #9F6618 #189F66
tetradic
#66189F #9F2318 #519F18 #18949F
square
#66189F #9F2318 #519F18 #18949F
split-complementary
#66189F #949F18 #189F23
monochromatic
#220835 #44106A #66189F #8820D4 #A44DE4

Accessibility & contrast

On white

9.56
#66189F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #66189F
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66189F#FFFFFF#000000##FFFFFF
##66189F1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #66189f;
/* rgb */ color: rgb(102, 24, 159);
/* oklch */ color: oklch(41.7% 0.196 304.8);
Tailwind
colors: {
  custom: {
    50: '#9861bc',
    500: '#66189f',
    950: '#000000',
  },
}
SCSS
$custom: #66189f;
$custom-light: #9861bc;
$custom-dark: #000000;
JSON
{
  "hex": "#66189f",
  "rgb": {
    "r": 102,
    "g": 24,
    "b": 159
  },
  "hsl": {
    "h": 274.667,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41678,
    "c": 0.19639,
    "h": 304.8
  },
  "luminance": 0.05981
}

Semantic roles & 50–950 ramp

primary
#66189F
secondary
#80C64D
accent
#F03786
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #66189F

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

Preview Lab → · Contrast checker → · Palette generator →

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