#66299C#66299C

#66299C is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.0% C 0.177 H 304.0°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#66299C
RGBrgb(102, 41, 156)
HSLhsl(272, 58%, 39%)
HSVhsv(272, 74%, 61%)
CMYKcmyk(34.6%, 73.7%, 0%, 38.8%)
CIE-LABlab(31.37, 48.52, -51.45)
CIE-LCHlch(31.37, 70.72, 313.32°)
OKLaboklab(43.01% 0.0986 -0.1465)
OKLCHoklch(43.01% 0.177 304)
XYZxyz(12.2718, 6.8110, 32.1142)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66299C #5F9C29
analogous
#2C299C #66299C #9C2998
triadic
#66299C #9C6629 #299C66
tetradic
#66299C #9C2C29 #5F9C29 #29989C
square
#66299C #9C2C29 #5F9C29 #29989C
split-complementary
#66299C #989C29 #299C2C
monochromatic
#27103B #461C6C #66299C #8638CB #A368D7

Accessibility & contrast

On white

8.89
#66299C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#66299C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66299C
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66299C#FFFFFF#000000##FFFFFF
##66299C1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489F
Deuteranopia (green-blind)
#004A9A
Tritanopia (blue-blind)
#5B4560
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #66299c;
/* rgb */ color: rgb(102, 41, 156);
/* oklch */ color: oklch(43.0% 0.177 304.0);
Tailwind
colors: {
  custom: {
    50: '#9769ba',
    500: '#66299c',
    950: '#000000',
  },
}
SCSS
$custom: #66299c;
$custom-light: #9769ba;
$custom-dark: #000000;
JSON
{
  "hex": "#66299c",
  "rgb": {
    "r": 102,
    "g": 41,
    "b": 156
  },
  "hsl": {
    "h": 271.826,
    "s": 58.376,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43006,
    "c": 0.17658,
    "h": 304
  },
  "luminance": 0.06811
}

Semantic roles & 50–950 ramp

primary
#66299C
secondary
#8EBE63
accent
#E2468F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #66299C

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

Preview Lab → · Contrast checker → · Palette generator →

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