#661D8C#661D8C

#661D8C is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.5% C 0.174 H 310.7°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#661D8C
RGBrgb(102, 29, 140)
HSLhsl(279, 66%, 33%)
HSVhsv(279, 79%, 55%)
CMYKcmyk(27.1%, 79.3%, 0%, 45.1%)
CIE-LABlab(28.37, 49.80, -46.49)
CIE-LCHlch(28.37, 68.13, 316.97°)
OKLaboklab(40.5% 0.1133 -0.1318)
OKLCHoklch(40.5% 0.174 310.7)
XYZxyz(10.6516, 5.5972, 25.3251)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661D8C #438C1D
analogous
#2E1D8C #661D8C #8C1D7A
triadic
#661D8C #8C661D #1D8C66
tetradic
#661D8C #8C2E1D #438C1D #1D7A8C
square
#661D8C #8C2E1D #438C1D #1D7A8C
split-complementary
#661D8C #7A8C1D #1D8C2E
monochromatic
#1C0827 #411259 #661D8C #8B28BF #A84AD9

Accessibility & contrast

On white

9.91
#661D8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#661D8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661D8C
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661D8C#FFFFFF#000000##FFFFFF
##661D8C1.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408F
Deuteranopia (green-blind)
#00448A
Tritanopia (blue-blind)
#613854
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #661d8c;
/* rgb */ color: rgb(102, 29, 140);
/* oklch */ color: oklch(40.5% 0.174 310.7);
Tailwind
colors: {
  custom: {
    50: '#9662ae',
    500: '#661d8c',
    950: '#000000',
  },
}
SCSS
$custom: #661d8c;
$custom-light: #9662ae;
$custom-dark: #000000;
JSON
{
  "hex": "#661d8c",
  "rgb": {
    "r": 102,
    "g": 29,
    "b": 140
  },
  "hsl": {
    "h": 279.459,
    "s": 65.68,
    "l": 33.137
  },
  "oklch": {
    "l": 0.40497,
    "c": 0.17382,
    "h": 310.7
  },
  "luminance": 0.05597
}

Semantic roles & 50–950 ramp

primary
#661D8C
secondary
#70BC49
accent
#E93F79
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #661D8C

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

Preview Lab → · Contrast checker → · Palette generator →

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