#661EA6#661EA6

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

Color values

HEX#661EA6
RGBrgb(102, 30, 166)
HSLhsl(272, 69%, 38%)
HSVhsv(272, 82%, 65%)
CMYKcmyk(38.6%, 81.9%, 0%, 34.9%)
CIE-LABlab(30.66, 55.35, -58.68)
CIE-LCHlch(30.66, 80.67, 313.33°)
OKLaboklab(42.76% 0.1056 -0.1676)
OKLCHoklch(42.76% 0.198 302.2)
XYZxyz(12.8250, 6.5065, 36.6492)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661EA6 #5EA61E
analogous
#221EA6 #661EA6 #A61EA2
triadic
#661EA6 #A6661E #1EA666
tetradic
#661EA6 #A6221E #5EA61E #1EA2A6
square
#661EA6 #A6221E #5EA61E #1EA2A6
split-complementary
#661EA6 #A2A61E #1EA622
monochromatic
#260B3E #461572 #661EA6 #8629D8 #A35DE2

Accessibility & contrast

On white

9.12
#661EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#661EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661EA6
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661EA6#FFFFFF#000000##FFFFFF
##661EA61.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AA
Deuteranopia (green-blind)
#0048A3
Tritanopia (blue-blind)
#584463
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #661ea6;
/* rgb */ color: rgb(102, 30, 166);
/* oklch */ color: oklch(42.8% 0.198 302.2);
Tailwind
colors: {
  custom: {
    50: '#9864c1',
    500: '#661ea6',
    950: '#000000',
  },
}
SCSS
$custom: #661ea6;
$custom-light: #9864c1;
$custom-dark: #000000;
JSON
{
  "hex": "#661ea6",
  "rgb": {
    "r": 102,
    "g": 30,
    "b": 166
  },
  "hsl": {
    "h": 271.765,
    "s": 69.388,
    "l": 38.431
  },
  "oklch": {
    "l": 0.42761,
    "c": 0.19812,
    "h": 302.2
  },
  "luminance": 0.06507
}

Semantic roles & 50–950 ramp

primary
#661EA6
secondary
#8DC65A
accent
#EC3C8F
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #661EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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