#66189B#66189B

#66189B is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.3% C 0.193 H 306.0°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#66189B
RGBrgb(102, 24, 155)
HSLhsl(276, 73%, 35%)
HSVhsv(276, 85%, 61%)
CMYKcmyk(34.2%, 84.5%, 0%, 39.2%)
CIE-LABlab(29.02, 54.84, -54.68)
CIE-LCHlch(29.02, 77.44, 315.08°)
OKLaboklab(41.33% 0.1133 -0.1558)
OKLCHoklch(41.33% 0.193 306)
XYZxyz(11.7212, 5.8447, 31.5146)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66189B #4D9B18
analogous
#24189B #66189B #9B188E
triadic
#66189B #9B6618 #189B66
tetradic
#66189B #9B2418 #4D9B18 #188E9B
square
#66189B #9B2418 #4D9B18 #188E9B
split-complementary
#66189B #8E9B18 #189B24
monochromatic
#200831 #431066 #66189B #8920D0 #A54AE3

Accessibility & contrast

On white

9.68
#66189B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#66189B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66189B
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66189B#FFFFFF#000000##FFFFFF
##66189B1.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429E
Deuteranopia (green-blind)
#004599
Tritanopia (blue-blind)
#5C3D5C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #66189b;
/* rgb */ color: rgb(102, 24, 155);
/* oklch */ color: oklch(41.3% 0.193 306.0);
Tailwind
colors: {
  custom: {
    50: '#9761b9',
    500: '#66189b',
    950: '#000000',
  },
}
SCSS
$custom: #66189b;
$custom-light: #9761b9;
$custom-dark: #000000;
JSON
{
  "hex": "#66189b",
  "rgb": {
    "r": 102,
    "g": 24,
    "b": 155
  },
  "hsl": {
    "h": 275.725,
    "s": 73.184,
    "l": 35.098
  },
  "oklch": {
    "l": 0.4133,
    "c": 0.19265,
    "h": 306
  },
  "luminance": 0.05845
}

Semantic roles & 50–950 ramp

primary
#66189B
secondary
#7CC54A
accent
#F03882
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0512
muted
#7E7A81

Preview Lab

Preview with #66189B

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

Preview Lab → · Contrast checker → · Palette generator →

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