#661B7B#661B7B

#661B7B is a dark, vivid purple. Relative luminance 0.050; OKLCH L 39.0% C 0.160 H 317.6°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#661B7B
RGBrgb(102, 27, 123)
HSLhsl(287, 64%, 29%)
HSVhsv(287, 78%, 48%)
CMYKcmyk(17.1%, 78%, 0%, 51.8%)
CIE-LABlab(26.85, 46.92, -38.30)
CIE-LCHlch(26.85, 60.57, 320.78°)
OKLaboklab(39.02% 0.1182 -0.1077)
OKLCHoklch(39.02% 0.16 317.6)
XYZxyz(9.4461, 5.0391, 19.2101)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661B7B #307B1B
analogous
#361B7B #661B7B #7B1B60
triadic
#661B7B #7B661B #1B7B66
tetradic
#661B7B #7B361B #307B1B #1B607B
square
#661B7B #7B361B #307B1B #1B607B
split-complementary
#661B7B #607B1B #1B7B36
monochromatic
#150619 #3C1049 #661B7B #9026AD #B33CD4

Accessibility & contrast

On white

10.46
#661B7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#661B7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661B7B
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661B7B#FFFFFF#000000##FFFFFF
##661B7B1.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7E
Deuteranopia (green-blind)
#1E4279
Tritanopia (blue-blind)
#65304A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #661b7b;
/* rgb */ color: rgb(102, 27, 123);
/* oklch */ color: oklch(39.0% 0.160 317.6);
Tailwind
colors: {
  custom: {
    50: '#9560a2',
    500: '#661b7b',
    950: '#000000',
  },
}
SCSS
$custom: #661b7b;
$custom-light: #9560a2;
$custom-dark: #000000;
JSON
{
  "hex": "#661b7b",
  "rgb": {
    "r": 102,
    "g": 27,
    "b": 123
  },
  "hsl": {
    "h": 286.875,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39019,
    "c": 0.15989,
    "h": 317.6
  },
  "luminance": 0.05039
}

Semantic roles & 50–950 ramp

primary
#661B7B
secondary
#5AAF43
accent
#E74165
background
#F9F5FA
surface
#F2EAF3
border
#CCC6CD
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #661B7B

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

Preview Lab → · Contrast checker → · Palette generator →

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