#661E9E#661E9E

#661E9E is a dark, vivid violet. Relative luminance 0.062; OKLCH L 42.1% C 0.190 H 304.6°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#661E9E
RGBrgb(102, 30, 158)
HSLhsl(274, 68%, 37%)
HSVhsv(274, 81%, 62%)
CMYKcmyk(35.4%, 81%, 0%, 38%)
CIE-LABlab(29.97, 53.50, -54.96)
CIE-LCHlch(29.97, 76.70, 314.23°)
OKLaboklab(42.07% 0.108 -0.1567)
OKLCHoklch(42.07% 0.19 304.6)
XYZxyz(12.1139, 6.2220, 32.9039)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661E9E #569E1E
analogous
#261E9E #661E9E #9E1E96
triadic
#661E9E #9E661E #1E9E66
tetradic
#661E9E #9E261E #569E1E #1E969E
square
#661E9E #9E261E #569E1E #1E969E
split-complementary
#661E9E #969E1E #1E9E26
monochromatic
#240A37 #45146B #661E9E #8728D1 #A457DF

Accessibility & contrast

On white

9.36
#661E9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#661E9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661E9E
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661E9E#FFFFFF#000000##FFFFFF
##661E9E1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A1
Deuteranopia (green-blind)
#00479C
Tritanopia (blue-blind)
#5B415F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #661e9e;
/* rgb */ color: rgb(102, 30, 158);
/* oklch */ color: oklch(42.1% 0.190 304.6);
Tailwind
colors: {
  custom: {
    50: '#9763bc',
    500: '#661e9e',
    950: '#000000',
  },
}
SCSS
$custom: #661e9e;
$custom-light: #9763bc;
$custom-dark: #000000;
JSON
{
  "hex": "#661e9e",
  "rgb": {
    "r": 102,
    "g": 30,
    "b": 158
  },
  "hsl": {
    "h": 273.75,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42068,
    "c": 0.19031,
    "h": 304.6
  },
  "luminance": 0.06222
}

Semantic roles & 50–950 ramp

primary
#661E9E
secondary
#85C355
accent
#EB3D89
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #661E9E

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

Preview Lab → · Contrast checker → · Palette generator →

#661E9E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva