#66299D#66299D

#66299D is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.1% C 0.178 H 303.7°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#66299D
RGBrgb(102, 41, 157)
HSLhsl(272, 59%, 39%)
HSVhsv(272, 74%, 62%)
CMYKcmyk(35%, 73.9%, 0%, 38.4%)
CIE-LABlab(31.45, 48.76, -51.93)
CIE-LCHlch(31.45, 71.24, 313.20°)
OKLaboklab(43.09% 0.0984 -0.1479)
OKLCHoklch(43.09% 0.178 303.7)
XYZxyz(12.3568, 6.8450, 32.5620)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66299D #609D29
analogous
#2C299D #66299D #9D299A
triadic
#66299D #9D6629 #299D66
tetradic
#66299D #9D2C29 #609D29 #299A9D
square
#66299D #9D2C29 #609D29 #299A9D
split-complementary
#66299D #9A9D29 #299D2C
monochromatic
#27103C #461C6C #66299D #8538CB #A369D8

Accessibility & contrast

On white

8.86
#66299D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#66299D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66299D
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66299D#FFFFFF#000000##FFFFFF
##66299D1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A0
Deuteranopia (green-blind)
#004A9B
Tritanopia (blue-blind)
#5B4561
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #66299d;
/* rgb */ color: rgb(102, 41, 157);
/* oklch */ color: oklch(43.1% 0.178 303.7);
Tailwind
colors: {
  custom: {
    50: '#9769bb',
    500: '#66299d',
    950: '#000000',
  },
}
SCSS
$custom: #66299d;
$custom-light: #9769bb;
$custom-dark: #000000;
JSON
{
  "hex": "#66299d",
  "rgb": {
    "r": 102,
    "g": 41,
    "b": 157
  },
  "hsl": {
    "h": 271.552,
    "s": 58.586,
    "l": 38.824
  },
  "oklch": {
    "l": 0.43086,
    "c": 0.17765,
    "h": 303.7
  },
  "luminance": 0.06845
}

Semantic roles & 50–950 ramp

primary
#66299D
secondary
#8FBE64
accent
#E24690
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #66299D

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

Preview Lab → · Contrast checker → · Palette generator →

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