#661D8F#661D8F

#661D8F is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.7% C 0.177 H 309.6°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#661D8F
RGBrgb(102, 29, 143)
HSLhsl(278, 66%, 34%)
HSVhsv(278, 80%, 56%)
CMYKcmyk(28.7%, 79.7%, 0%, 43.9%)
CIE-LABlab(28.61, 50.46, -47.97)
CIE-LCHlch(28.61, 69.62, 316.45°)
OKLaboklab(40.74% 0.1127 -0.1361)
OKLCHoklch(40.74% 0.177 309.6)
XYZxyz(10.8758, 5.6869, 26.5060)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661D8F #468F1D
analogous
#2D1D8F #661D8F #8F1D7F
triadic
#661D8F #8F661D #1D8F66
tetradic
#661D8F #8F2D1D #468F1D #1D7F8F
square
#661D8F #8F2D1D #468F1D #1D7F8F
split-complementary
#661D8F #7F8F1D #1D8F2D
monochromatic
#1D0829 #42135C #661D8F #8A27C2 #A74CDB

Accessibility & contrast

On white

9.83
#661D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#661D8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661D8F
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661D8F#FFFFFF#000000##FFFFFF
##661D8F1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#00448D
Tritanopia (blue-blind)
#603956
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #661d8f;
/* rgb */ color: rgb(102, 29, 143);
/* oklch */ color: oklch(40.7% 0.177 309.6);
Tailwind
colors: {
  custom: {
    50: '#9662b1',
    500: '#661d8f',
    950: '#000000',
  },
}
SCSS
$custom: #661d8f;
$custom-light: #9662b1;
$custom-dark: #000000;
JSON
{
  "hex": "#661d8f",
  "rgb": {
    "r": 102,
    "g": 29,
    "b": 143
  },
  "hsl": {
    "h": 278.421,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.40736,
    "c": 0.17672,
    "h": 309.6
  },
  "luminance": 0.05687
}

Semantic roles & 50–950 ramp

primary
#661D8F
secondary
#74BD4B
accent
#E93F7C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #661D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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