#661B8D#661B8D

#661B8D is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.4% C 0.177 H 310.5°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#661B8D
RGBrgb(102, 27, 141)
HSLhsl(279, 68%, 33%)
HSVhsv(279, 81%, 55%)
CMYKcmyk(27.7%, 80.9%, 0%, 44.7%)
CIE-LABlab(28.20, 50.75, -47.39)
CIE-LCHlch(28.20, 69.44, 316.96°)
OKLaboklab(40.4% 0.1148 -0.1344)
OKLCHoklch(40.4% 0.177 310.5)
XYZxyz(10.6782, 5.5320, 25.6994)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661B8D #428D1B
analogous
#2D1B8D #661B8D #8D1B7B
triadic
#661B8D #8D661B #1B8D66
tetradic
#661B8D #8D2D1B #428D1B #1B7B8D
square
#661B8D #8D2D1B #428D1B #1B7B8D
split-complementary
#661B8D #7B8D1B #1B8D2D
monochromatic
#1C0726 #41115A #661B8D #8B25C0 #A947DC

Accessibility & contrast

On white

9.97
#661B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#661B8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661B8D
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661B8D#FFFFFF#000000##FFFFFF
##661B8D1.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F90
Deuteranopia (green-blind)
#00448B
Tritanopia (blue-blind)
#613854
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #661b8d;
/* rgb */ color: rgb(102, 27, 141);
/* oklch */ color: oklch(40.4% 0.177 310.5);
Tailwind
colors: {
  custom: {
    50: '#9661af',
    500: '#661b8d',
    950: '#000000',
  },
}
SCSS
$custom: #661b8d;
$custom-light: #9661af;
$custom-dark: #000000;
JSON
{
  "hex": "#661b8d",
  "rgb": {
    "r": 102,
    "g": 27,
    "b": 141
  },
  "hsl": {
    "h": 279.474,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.404,
    "c": 0.17681,
    "h": 310.5
  },
  "luminance": 0.05532
}

Semantic roles & 50–950 ramp

primary
#661B8D
secondary
#6FBD46
accent
#EB3D78
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #661B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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