#661D9C#661D9C

#661D9C is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.8% C 0.189 H 305.3°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#661D9C
RGBrgb(102, 29, 156)
HSLhsl(274, 69%, 36%)
HSVhsv(274, 81%, 61%)
CMYKcmyk(34.6%, 81.4%, 0%, 38.8%)
CIE-LABlab(29.67, 53.39, -54.22)
CIE-LCHlch(29.67, 76.10, 314.56°)
OKLaboklab(41.81% 0.1093 -0.1545)
OKLCHoklch(41.81% 0.189 305.3)
XYZxyz(11.9182, 6.1039, 31.9963)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661D9C #539C1D
analogous
#261D9C #661D9C #9C1D93
triadic
#661D9C #9C661D #1D9C66
tetradic
#661D9C #9C261D #539C1D #1D939C
square
#661D9C #9C261D #539C1D #1D939C
split-complementary
#661D9C #939C1D #1D9C26
monochromatic
#230A35 #441368 #661D9C #8827D0 #A454DF

Accessibility & contrast

On white

9.46
#661D9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#661D9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661D9C
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661D9C#FFFFFF#000000##FFFFFF
##661D9C1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449F
Deuteranopia (green-blind)
#00469A
Tritanopia (blue-blind)
#5C3F5D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #661d9c;
/* rgb */ color: rgb(102, 29, 156);
/* oklch */ color: oklch(41.8% 0.189 305.3);
Tailwind
colors: {
  custom: {
    50: '#9763ba',
    500: '#661d9c',
    950: '#000000',
  },
}
SCSS
$custom: #661d9c;
$custom-light: #9763ba;
$custom-dark: #000000;
JSON
{
  "hex": "#661d9c",
  "rgb": {
    "r": 102,
    "g": 29,
    "b": 156
  },
  "hsl": {
    "h": 274.488,
    "s": 68.649,
    "l": 36.275
  },
  "oklch": {
    "l": 0.41812,
    "c": 0.18928,
    "h": 305.3
  },
  "luminance": 0.06104
}

Semantic roles & 50–950 ramp

primary
#661D9C
secondary
#82C252
accent
#EB3C87
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #661D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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