#661EA7#661EA7

#661EA7 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.8% C 0.199 H 301.9°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#661EA7
RGBrgb(102, 30, 167)
HSLhsl(272, 70%, 39%)
HSVhsv(272, 82%, 65%)
CMYKcmyk(38.9%, 82%, 0%, 34.5%)
CIE-LABlab(30.74, 55.58, -59.14)
CIE-LCHlch(30.74, 81.16, 313.22°)
OKLaboklab(42.85% 0.1053 -0.169)
OKLCHoklch(42.85% 0.199 301.9)
XYZxyz(12.9171, 6.5433, 37.1342)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661EA7 #5FA71E
analogous
#221EA7 #661EA7 #A71EA3
triadic
#661EA7 #A7661E #1EA766
tetradic
#661EA7 #A7221E #5FA71E #1EA3A7
square
#661EA7 #A7221E #5FA71E #1EA3A7
split-complementary
#661EA7 #A3A71E #1EA722
monochromatic
#270B3F #461573 #661EA7 #862AD9 #A35DE2

Accessibility & contrast

On white

9.10
#661EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#661EA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661EA7
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661EA7#FFFFFF#000000##FFFFFF
##661EA71.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #661ea7;
/* rgb */ color: rgb(102, 30, 167);
/* oklch */ color: oklch(42.8% 0.199 301.9);
Tailwind
colors: {
  custom: {
    50: '#9864c2',
    500: '#661ea7',
    950: '#000000',
  },
}
SCSS
$custom: #661ea7;
$custom-light: #9864c2;
$custom-dark: #000000;
JSON
{
  "hex": "#661ea7",
  "rgb": {
    "r": 102,
    "g": 30,
    "b": 167
  },
  "hsl": {
    "h": 271.533,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.42849,
    "c": 0.1991,
    "h": 301.9
  },
  "luminance": 0.06543
}

Semantic roles & 50–950 ramp

primary
#661EA7
secondary
#8EC65B
accent
#EC3B8F
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0613
muted
#7E7A82

Preview Lab

Preview with #661EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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