#66229F#66229F

#66229F is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.5% C 0.187 H 303.9°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#66229F
RGBrgb(102, 34, 159)
HSLhsl(273, 65%, 38%)
HSVhsv(273, 79%, 62%)
CMYKcmyk(35.8%, 78.6%, 0%, 37.6%)
CIE-LABlab(30.57, 52.21, -54.58)
CIE-LCHlch(30.57, 75.53, 313.73°)
OKLaboklab(42.52% 0.1045 -0.1556)
OKLCHoklch(42.52% 0.187 303.9)
XYZxyz(12.3081, 6.4721, 33.3950)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66229F #5B9F22
analogous
#27229F #66229F #9F2299
triadic
#66229F #9F6622 #229F66
tetradic
#66229F #9F2722 #5B9F22 #22999F
square
#66229F #9F2722 #5B9F22 #22999F
split-complementary
#66229F #999F22 #229F27
monochromatic
#250C3A #46176D #66229F #862DD1 #A35FDD

Accessibility & contrast

On white

9.15
#66229F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#66229F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66229F
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66229F#FFFFFF#000000##FFFFFF
##66229F1.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#00489D
Tritanopia (blue-blind)
#5B4360
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #66229f;
/* rgb */ color: rgb(102, 34, 159);
/* oklch */ color: oklch(42.5% 0.187 303.9);
Tailwind
colors: {
  custom: {
    50: '#9765bc',
    500: '#66229f',
    950: '#000000',
  },
}
SCSS
$custom: #66229f;
$custom-light: #9765bc;
$custom-dark: #000000;
JSON
{
  "hex": "#66229f",
  "rgb": {
    "r": 102,
    "g": 34,
    "b": 159
  },
  "hsl": {
    "h": 272.64,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.42519,
    "c": 0.18741,
    "h": 303.9
  },
  "luminance": 0.06472
}

Semantic roles & 50–950 ramp

primary
#66229F
secondary
#8AC15B
accent
#E8408D
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #66229F

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

Preview Lab → · Contrast checker → · Palette generator →

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