#66299F#66299F

#66299F is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.2% C 0.180 H 303.0°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#66299F
RGBrgb(102, 41, 159)
HSLhsl(271, 59%, 39%)
HSVhsv(271, 74%, 62%)
CMYKcmyk(35.8%, 74.2%, 0%, 37.6%)
CIE-LABlab(31.61, 49.25, -52.89)
CIE-LCHlch(31.61, 72.27, 312.96°)
OKLaboklab(43.25% 0.098 -0.1507)
OKLCHoklch(43.25% 0.18 303)
XYZxyz(12.5290, 6.9139, 33.4686)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66299F #629F29
analogous
#2B299F #66299F #9F299D
triadic
#66299F #9F6629 #299F66
tetradic
#66299F #9F2B29 #629F29 #299D9F
square
#66299F #9F2B29 #629F29 #299D9F
split-complementary
#66299F #9D9F29 #299F2B
monochromatic
#28103E #471C6E #66299F #8539CC #A36AD9

Accessibility & contrast

On white

8.81
#66299F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#66299F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66299F
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66299F#FFFFFF#000000##FFFFFF
##66299F1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A2
Deuteranopia (green-blind)
#004A9D
Tritanopia (blue-blind)
#5A4662
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #66299f;
/* rgb */ color: rgb(102, 41, 159);
/* oklch */ color: oklch(43.2% 0.180 303.0);
Tailwind
colors: {
  custom: {
    50: '#9769bc',
    500: '#66299f',
    950: '#000000',
  },
}
SCSS
$custom: #66299f;
$custom-light: #9769bc;
$custom-dark: #000000;
JSON
{
  "hex": "#66299f",
  "rgb": {
    "r": 102,
    "g": 41,
    "b": 159
  },
  "hsl": {
    "h": 271.017,
    "s": 59,
    "l": 39.216
  },
  "oklch": {
    "l": 0.43248,
    "c": 0.17978,
    "h": 303
  },
  "luminance": 0.06914
}

Semantic roles & 50–950 ramp

primary
#66299F
secondary
#90BF65
accent
#E24691
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #66299F

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

Preview Lab → · Contrast checker → · Palette generator →

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