#661EA1#661EA1

#661EA1 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.3% C 0.193 H 303.7°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#661EA1
RGBrgb(102, 30, 161)
HSLhsl(273, 69%, 37%)
HSVhsv(273, 81%, 63%)
CMYKcmyk(36.6%, 81.4%, 0%, 36.9%)
CIE-LABlab(30.22, 54.19, -56.37)
CIE-LCHlch(30.22, 78.19, 313.87°)
OKLaboklab(42.33% 0.1071 -0.1608)
OKLCHoklch(42.33% 0.193 303.7)
XYZxyz(12.3753, 6.3266, 34.2805)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661EA1 #59A11E
analogous
#251EA1 #661EA1 #A11E9A
triadic
#661EA1 #A1661E #1EA166
tetradic
#661EA1 #A1251E #59A11E #1E9AA1
square
#661EA1 #A1251E #59A11E #1E9AA1
split-complementary
#661EA1 #9AA11E #1EA125
monochromatic
#250B3A #45146D #661EA1 #8728D5 #A359E0

Accessibility & contrast

On white

9.27
#661EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#661EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661EA1
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661EA1#FFFFFF#000000##FFFFFF
##661EA11.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A5
Deuteranopia (green-blind)
#00479E
Tritanopia (blue-blind)
#5A4260
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #661ea1;
/* rgb */ color: rgb(102, 30, 161);
/* oklch */ color: oklch(42.3% 0.193 303.7);
Tailwind
colors: {
  custom: {
    50: '#9864be',
    500: '#661ea1',
    950: '#000000',
  },
}
SCSS
$custom: #661ea1;
$custom-light: #9864be;
$custom-dark: #000000;
JSON
{
  "hex": "#661ea1",
  "rgb": {
    "r": 102,
    "g": 30,
    "b": 161
  },
  "hsl": {
    "h": 272.977,
    "s": 68.586,
    "l": 37.451
  },
  "oklch": {
    "l": 0.42326,
    "c": 0.19324,
    "h": 303.7
  },
  "luminance": 0.06327
}

Semantic roles & 50–950 ramp

primary
#661EA1
secondary
#88C457
accent
#EB3C8B
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #661EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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