#66239A#66239A

#66239A is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.2% C 0.181 H 305.3°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#66239A
RGBrgb(102, 35, 154)
HSLhsl(274, 63%, 37%)
HSVhsv(274, 77%, 60%)
CMYKcmyk(33.8%, 77.3%, 0%, 39.6%)
CIE-LABlab(30.30, 50.63, -51.97)
CIE-LCHlch(30.30, 72.56, 314.25°)
OKLaboklab(42.2% 0.1048 -0.1479)
OKLCHoklch(42.2% 0.181 305.3)
XYZxyz(11.9119, 6.3600, 31.1656)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66239A #579A23
analogous
#2B239A #66239A #9A2392
triadic
#66239A #9A6623 #239A66
tetradic
#66239A #9A2B23 #579A23 #23929A
square
#66239A #9A2B23 #579A23 #23929A
split-complementary
#66239A #929A23 #239A2B
monochromatic
#240C36 #451868 #66239A #872ECC #A45DDA

Accessibility & contrast

On white

9.24
#66239A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#66239A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66239A
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66239A#FFFFFF#000000##FFFFFF
##66239A1.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)
#00469D
Deuteranopia (green-blind)
#004798
Tritanopia (blue-blind)
#5C415D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #66239a;
/* rgb */ color: rgb(102, 35, 154);
/* oklch */ color: oklch(42.2% 0.181 305.3);
Tailwind
colors: {
  custom: {
    50: '#9766b9',
    500: '#66239a',
    950: '#000000',
  },
}
SCSS
$custom: #66239a;
$custom-light: #9766b9;
$custom-dark: #000000;
JSON
{
  "hex": "#66239a",
  "rgb": {
    "r": 102,
    "g": 35,
    "b": 154
  },
  "hsl": {
    "h": 273.782,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42202,
    "c": 0.18131,
    "h": 305.3
  },
  "luminance": 0.0636
}

Semantic roles & 50–950 ramp

primary
#66239A
secondary
#86BF5A
accent
#E6428A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #66239A

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

Preview Lab → · Contrast checker → · Palette generator →

#66239A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva