#66399D#66399D

#66399D is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.2% C 0.156 H 301.0°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#66399D
RGBrgb(102, 57, 157)
HSLhsl(267, 47%, 42%)
HSVhsv(267, 64%, 62%)
CMYKcmyk(35%, 63.7%, 0%, 38.4%)
CIE-LABlab(34.37, 40.70, -47.21)
CIE-LCHlch(34.37, 62.33, 310.76°)
OKLaboklab(45.17% 0.0807 -0.1341)
OKLCHoklch(45.17% 0.156 301)
XYZxyz(13.0270, 8.1853, 32.7854)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66399D #709D39
analogous
#393E9D #66399D #98399D
triadic
#66399D #9D6639 #399D66
tetradic
#66399D #9D393E #709D39 #399D98
square
#66399D #9D393E #709D39 #399D98
split-complementary
#66399D #9D9839 #3E9D39
monochromatic
#2C1843 #492970 #66399D #8453C0 #A480D1

Accessibility & contrast

On white

7.96
#66399D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#66399D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66399D
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66399D#FFFFFF#000000##FFFFFF
##66399D1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A0
Deuteranopia (green-blind)
#14509B
Tritanopia (blue-blind)
#5A4F65
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #66399d;
/* rgb */ color: rgb(102, 57, 157);
/* oklch */ color: oklch(45.2% 0.156 301.0);
Tailwind
colors: {
  custom: {
    50: '#9672bb',
    500: '#66399d',
    950: '#000000',
  },
}
SCSS
$custom: #66399d;
$custom-light: #9672bb;
$custom-dark: #000000;
JSON
{
  "hex": "#66399d",
  "rgb": {
    "r": 102,
    "g": 57,
    "b": 157
  },
  "hsl": {
    "h": 267,
    "s": 46.729,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45174,
    "c": 0.15648,
    "h": 301
  },
  "luminance": 0.08185
}

Semantic roles & 50–950 ramp

primary
#66399D
secondary
#9CBA78
accent
#D6519B
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #66399D

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

Preview Lab → · Contrast checker → · Palette generator →

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