#661CA7#661CA7

#661CA7 is a dark, highly saturated violet. Relative luminance 0.064; OKLCH L 42.7% C 0.201 H 302.1°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#661CA7
RGBrgb(102, 28, 167)
HSLhsl(272, 71%, 38%)
HSVhsv(272, 83%, 65%)
CMYKcmyk(38.9%, 83.2%, 0%, 34.5%)
CIE-LABlab(30.51, 56.27, -59.52)
CIE-LCHlch(30.51, 81.91, 313.39°)
OKLaboklab(42.69% 0.1067 -0.1701)
OKLCHoklch(42.69% 0.201 302.1)
XYZxyz(12.8681, 6.4453, 37.1178)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661CA7 #5DA71C
analogous
#201CA7 #661CA7 #A71CA2
triadic
#661CA7 #A7661C #1CA766
tetradic
#661CA7 #A7201C #5DA71C #1CA2A7
square
#661CA7 #A7201C #5DA71C #1CA2A7
split-complementary
#661CA7 #A2A71C #1CA720
monochromatic
#260A3E #461373 #661CA7 #8626DB #A35AE3

Accessibility & contrast

On white

9.17
#661CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#661CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661CA7
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661CA7#FFFFFF#000000##FFFFFF
##661CA71.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AB
Deuteranopia (green-blind)
#0047A4
Tritanopia (blue-blind)
#584463
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #661ca7;
/* rgb */ color: rgb(102, 28, 167);
/* oklch */ color: oklch(42.7% 0.201 302.1);
Tailwind
colors: {
  custom: {
    50: '#9863c2',
    500: '#661ca7',
    950: '#000000',
  },
}
SCSS
$custom: #661ca7;
$custom-light: #9863c2;
$custom-dark: #000000;
JSON
{
  "hex": "#661ca7",
  "rgb": {
    "r": 102,
    "g": 28,
    "b": 167
  },
  "hsl": {
    "h": 271.942,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.42687,
    "c": 0.20079,
    "h": 302.1
  },
  "luminance": 0.06445
}

Semantic roles & 50–950 ramp

primary
#661CA7
secondary
#8CC758
accent
#EE3A8E
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0613
muted
#7E7A82

Preview Lab

Preview with #661CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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