#66229D#66229D

#66229D is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.4% C 0.185 H 304.5°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#66229D
RGBrgb(102, 34, 157)
HSLhsl(273, 64%, 37%)
HSVhsv(273, 78%, 62%)
CMYKcmyk(35%, 78.3%, 0%, 38.4%)
CIE-LABlab(30.41, 51.74, -53.63)
CIE-LCHlch(30.41, 74.52, 313.97°)
OKLaboklab(42.35% 0.105 -0.1528)
OKLCHoklch(42.35% 0.185 304.5)
XYZxyz(12.1359, 6.4032, 32.4883)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66229D #599D22
analogous
#29229D #66229D #9D2296
triadic
#66229D #9D6622 #229D66
tetradic
#66229D #9D2922 #599D22 #22969D
square
#66229D #9D2922 #599D22 #22969D
split-complementary
#66229D #969D22 #229D29
monochromatic
#250C38 #45176B #66229D #872DCF #A35DDC

Accessibility & contrast

On white

9.21
#66229D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#66229D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66229D
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66229D#FFFFFF#000000##FFFFFF
##66229D1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A0
Deuteranopia (green-blind)
#00489B
Tritanopia (blue-blind)
#5B425F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #66229d;
/* rgb */ color: rgb(102, 34, 157);
/* oklch */ color: oklch(42.4% 0.185 304.5);
Tailwind
colors: {
  custom: {
    50: '#9765bb',
    500: '#66229d',
    950: '#000000',
  },
}
SCSS
$custom: #66229d;
$custom-light: #9765bb;
$custom-dark: #000000;
JSON
{
  "hex": "#66229d",
  "rgb": {
    "r": 102,
    "g": 34,
    "b": 157
  },
  "hsl": {
    "h": 273.171,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.42351,
    "c": 0.18539,
    "h": 304.5
  },
  "luminance": 0.06403
}

Semantic roles & 50–950 ramp

primary
#66229D
secondary
#88C15A
accent
#E7408B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #66229D

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

Preview Lab → · Contrast checker → · Palette generator →

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