#661E9D#661E9D

#661E9D is a dark, vivid violet. Relative luminance 0.062; OKLCH L 42.0% C 0.189 H 304.9°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#661E9D
RGBrgb(102, 30, 157)
HSLhsl(274, 68%, 37%)
HSVhsv(274, 81%, 62%)
CMYKcmyk(35%, 80.9%, 0%, 38.4%)
CIE-LABlab(29.88, 53.27, -54.49)
CIE-LCHlch(29.88, 76.20, 314.35°)
OKLaboklab(41.98% 0.1083 -0.1553)
OKLCHoklch(41.98% 0.189 304.9)
XYZxyz(12.0282, 6.1877, 32.4524)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661E9D #559D1E
analogous
#271E9D #661E9D #9D1E95
triadic
#661E9D #9D661E #1E9D66
tetradic
#661E9D #9D271E #559D1E #1E959D
square
#661E9D #9D271E #559D1E #1E959D
split-complementary
#661E9D #959D1E #1E9D27
monochromatic
#230A36 #45146A #661E9D #8728D0 #A457DF

Accessibility & contrast

On white

9.39
#661E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #661E9D
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661E9D#FFFFFF#000000##FFFFFF
##661E9D1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A0
Deuteranopia (green-blind)
#00469B
Tritanopia (blue-blind)
#5B405E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #661e9d;
/* rgb */ color: rgb(102, 30, 157);
/* oklch */ color: oklch(42.0% 0.189 304.9);
Tailwind
colors: {
  custom: {
    50: '#9763bb',
    500: '#661e9d',
    950: '#000000',
  },
}
SCSS
$custom: #661e9d;
$custom-light: #9763bb;
$custom-dark: #000000;
JSON
{
  "hex": "#661e9d",
  "rgb": {
    "r": 102,
    "g": 30,
    "b": 157
  },
  "hsl": {
    "h": 274.016,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.41983,
    "c": 0.18932,
    "h": 304.9
  },
  "luminance": 0.06188
}

Semantic roles & 50–950 ramp

primary
#661E9D
secondary
#84C254
accent
#EB3D88
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #661E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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