#66189C#66189C

#66189C is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.4% C 0.194 H 305.7°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#66189C
RGBrgb(102, 24, 156)
HSLhsl(275, 73%, 35%)
HSVhsv(275, 85%, 61%)
CMYKcmyk(34.6%, 84.6%, 0%, 38.8%)
CIE-LABlab(29.10, 55.06, -55.15)
CIE-LCHlch(29.10, 77.93, 314.95°)
OKLaboklab(41.42% 0.113 -0.1572)
OKLCHoklch(41.42% 0.194 305.7)
XYZxyz(11.8055, 5.8784, 31.9588)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66189C #4E9C18
analogous
#24189C #66189C #9C1890
triadic
#66189C #9C6618 #189C66
tetradic
#66189C #9C2418 #4E9C18 #18909C
square
#66189C #9C2418 #4E9C18 #18909C
split-complementary
#66189C #909C18 #189C24
monochromatic
#210832 #431067 #66189C #8920D1 #A54BE3

Accessibility & contrast

On white

9.65
#66189C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#66189C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66189C
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66189C#FFFFFF#000000##FFFFFF
##66189C1.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439F
Deuteranopia (green-blind)
#00459A
Tritanopia (blue-blind)
#5C3D5C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #66189c;
/* rgb */ color: rgb(102, 24, 156);
/* oklch */ color: oklch(41.4% 0.194 305.7);
Tailwind
colors: {
  custom: {
    50: '#9861ba',
    500: '#66189c',
    950: '#000000',
  },
}
SCSS
$custom: #66189c;
$custom-light: #9861ba;
$custom-dark: #000000;
JSON
{
  "hex": "#66189c",
  "rgb": {
    "r": 102,
    "g": 24,
    "b": 156
  },
  "hsl": {
    "h": 275.455,
    "s": 73.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41417,
    "c": 0.19358,
    "h": 305.7
  },
  "luminance": 0.05878
}

Semantic roles & 50–950 ramp

primary
#66189C
secondary
#7DC54B
accent
#F03883
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0512
muted
#7E7A81

Preview Lab

Preview with #66189C

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

Preview Lab → · Contrast checker → · Palette generator →

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