#661F8F#661F8F

#661F8F is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.9% C 0.175 H 309.4°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#661F8F
RGBrgb(102, 31, 143)
HSLhsl(278, 64%, 34%)
HSVhsv(278, 78%, 56%)
CMYKcmyk(28.7%, 78.3%, 0%, 43.9%)
CIE-LABlab(28.87, 49.71, -47.54)
CIE-LCHlch(28.87, 68.78, 316.28°)
OKLaboklab(40.92% 0.1109 -0.1349)
OKLCHoklch(40.92% 0.175 309.4)
XYZxyz(10.9264, 5.7881, 26.5229)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661F8F #488F1F
analogous
#2E1F8F #661F8F #8F1F80
triadic
#661F8F #8F661F #1F8F66
tetradic
#661F8F #8F2E1F #488F1F #1F808F
square
#661F8F #8F2E1F #488F1F #1F808F
split-complementary
#661F8F #808F1F #1F8F2E
monochromatic
#1E092A #42145D #661F8F #8A2AC1 #A74FD9

Accessibility & contrast

On white

9.73
#661F8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#661F8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661F8F
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661F8F#FFFFFF#000000##FFFFFF
##661F8F1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#00458D
Tritanopia (blue-blind)
#603A56
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #661f8f;
/* rgb */ color: rgb(102, 31, 143);
/* oklch */ color: oklch(40.9% 0.175 309.4);
Tailwind
colors: {
  custom: {
    50: '#9663b1',
    500: '#661f8f',
    950: '#000000',
  },
}
SCSS
$custom: #661f8f;
$custom-light: #9663b1;
$custom-dark: #000000;
JSON
{
  "hex": "#661f8f",
  "rgb": {
    "r": 102,
    "g": 31,
    "b": 143
  },
  "hsl": {
    "h": 278.036,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.40921,
    "c": 0.17463,
    "h": 309.4
  },
  "luminance": 0.05788
}

Semantic roles & 50–950 ramp

primary
#661F8F
secondary
#76BC4E
accent
#E7407E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #661F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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