#66239C#66239C

#66239C is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.4% C 0.183 H 304.7°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#66239C
RGBrgb(102, 35, 156)
HSLhsl(273, 63%, 37%)
HSVhsv(273, 78%, 61%)
CMYKcmyk(34.6%, 77.6%, 0%, 38.8%)
CIE-LABlab(30.47, 51.11, -52.93)
CIE-LCHlch(30.47, 73.57, 314.00°)
OKLaboklab(42.37% 0.1043 -0.1508)
OKLCHoklch(42.37% 0.183 304.7)
XYZxyz(12.0799, 6.4272, 32.0502)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66239C #599C23
analogous
#29239C #66239C #9C2396
triadic
#66239C #9C6623 #239C66
tetradic
#66239C #9C2923 #599C23 #23969C
square
#66239C #9C2923 #599C23 #23969C
split-complementary
#66239C #969C23 #239C29
monochromatic
#250D38 #45186A #66239C #872ECE #A35EDB

Accessibility & contrast

On white

9.19
#66239C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#66239C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66239C
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66239C#FFFFFF#000000##FFFFFF
##66239C1.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469F
Deuteranopia (green-blind)
#00489A
Tritanopia (blue-blind)
#5C425F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #66239c;
/* rgb */ color: rgb(102, 35, 156);
/* oklch */ color: oklch(42.4% 0.183 304.7);
Tailwind
colors: {
  custom: {
    50: '#9766ba',
    500: '#66239c',
    950: '#000000',
  },
}
SCSS
$custom: #66239c;
$custom-light: #9766ba;
$custom-dark: #000000;
JSON
{
  "hex": "#66239c",
  "rgb": {
    "r": 102,
    "g": 35,
    "b": 156
  },
  "hsl": {
    "h": 273.223,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.42366,
    "c": 0.18333,
    "h": 304.7
  },
  "luminance": 0.06427
}

Semantic roles & 50–950 ramp

primary
#66239C
secondary
#88C05B
accent
#E6418B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #66239C

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

Preview Lab → · Contrast checker → · Palette generator →

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