#66229C#66229C

#66229C is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.3% C 0.184 H 304.8°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#66229C
RGBrgb(102, 34, 156)
HSLhsl(273, 64%, 37%)
HSVhsv(273, 78%, 61%)
CMYKcmyk(34.6%, 78.2%, 0%, 38.8%)
CIE-LABlab(30.33, 51.51, -53.16)
CIE-LCHlch(30.33, 74.02, 314.10°)
OKLaboklab(42.27% 0.1052 -0.1514)
OKLCHoklch(42.27% 0.184 304.8)
XYZxyz(12.0509, 6.3692, 32.0406)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66229C #589C22
analogous
#29229C #66229C #9C2295
triadic
#66229C #9C6622 #229C66
tetradic
#66229C #9C2922 #589C22 #22959C
square
#66229C #9C2922 #589C22 #22959C
split-complementary
#66229C #959C22 #229C29
monochromatic
#240C38 #45176A #66229C #872DCE #A35DDC

Accessibility & contrast

On white

9.24
#66229C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#66229C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66229C
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66229C#FFFFFF#000000##FFFFFF
##66229C1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469F
Deuteranopia (green-blind)
#00479A
Tritanopia (blue-blind)
#5C415E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #66229c;
/* rgb */ color: rgb(102, 34, 156);
/* oklch */ color: oklch(42.3% 0.184 304.8);
Tailwind
colors: {
  custom: {
    50: '#9765ba',
    500: '#66229c',
    950: '#000000',
  },
}
SCSS
$custom: #66229c;
$custom-light: #9765ba;
$custom-dark: #000000;
JSON
{
  "hex": "#66229c",
  "rgb": {
    "r": 102,
    "g": 34,
    "b": 156
  },
  "hsl": {
    "h": 273.443,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.42268,
    "c": 0.18438,
    "h": 304.8
  },
  "luminance": 0.06369
}

Semantic roles & 50–950 ramp

primary
#66229C
secondary
#87C05A
accent
#E7418A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #66229C

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

Preview Lab → · Contrast checker → · Palette generator →

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