#661D9E#661D9E

#661D9E is a dark, vivid violet. Relative luminance 0.062; OKLCH L 42.0% C 0.191 H 304.7°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#661D9E
RGBrgb(102, 29, 158)
HSLhsl(274, 69%, 37%)
HSVhsv(274, 82%, 62%)
CMYKcmyk(35.4%, 81.6%, 0%, 38%)
CIE-LABlab(29.84, 53.85, -55.16)
CIE-LCHlch(29.84, 77.09, 314.31°)
OKLaboklab(41.98% 0.1088 -0.1573)
OKLCHoklch(41.98% 0.191 304.7)
XYZxyz(12.0890, 6.1722, 32.8956)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661D9E #559E1D
analogous
#251D9E #661D9E #9E1D96
triadic
#661D9E #9E661D #1D9E66
tetradic
#661D9E #9E251D #559E1D #1D969E
square
#661D9E #9E251D #559E1D #1D969E
split-complementary
#661D9E #969E1D #1D9E25
monochromatic
#230A37 #45146A #661D9E #8726D2 #A456E0

Accessibility & contrast

On white

9.40
#661D9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#661D9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661D9E
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661D9E#FFFFFF#000000##FFFFFF
##661D9E1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A1
Deuteranopia (green-blind)
#00469C
Tritanopia (blue-blind)
#5B405E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #661d9e;
/* rgb */ color: rgb(102, 29, 158);
/* oklch */ color: oklch(42.0% 0.191 304.7);
Tailwind
colors: {
  custom: {
    50: '#9763bc',
    500: '#661d9e',
    950: '#000000',
  },
}
SCSS
$custom: #661d9e;
$custom-light: #9763bc;
$custom-dark: #000000;
JSON
{
  "hex": "#661d9e",
  "rgb": {
    "r": 102,
    "g": 29,
    "b": 158
  },
  "hsl": {
    "h": 273.953,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.41983,
    "c": 0.19123,
    "h": 304.7
  },
  "luminance": 0.06172
}

Semantic roles & 50–950 ramp

primary
#661D9E
secondary
#84C354
accent
#EC3C88
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #661D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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