#661EA8#661EA8

#661EA8 is a dark, highly saturated violet. Relative luminance 0.066; OKLCH L 42.9% C 0.200 H 301.7°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#661EA8
RGBrgb(102, 30, 168)
HSLhsl(271, 70%, 39%)
HSVhsv(271, 82%, 66%)
CMYKcmyk(39.3%, 82.1%, 0%, 34.1%)
CIE-LABlab(30.83, 55.82, -59.60)
CIE-LCHlch(30.83, 81.66, 313.12°)
OKLaboklab(42.94% 0.105 -0.1703)
OKLCHoklch(42.94% 0.2 301.7)
XYZxyz(13.0099, 6.5804, 37.6229)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661EA8 #60A81E
analogous
#211EA8 #661EA8 #A81EA5
triadic
#661EA8 #A8661E #1EA866
tetradic
#661EA8 #A8211E #60A81E #1EA5A8
square
#661EA8 #A8211E #60A81E #1EA5A8
split-complementary
#661EA8 #A5A81E #1EA821
monochromatic
#270B40 #461574 #661EA8 #852AD9 #A35EE2

Accessibility & contrast

On white

9.07
#661EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#661EA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661EA8
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661EA8#FFFFFF#000000##FFFFFF
##661EA81.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AC
Deuteranopia (green-blind)
#0048A5
Tritanopia (blue-blind)
#574564
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #661ea8;
/* rgb */ color: rgb(102, 30, 168);
/* oklch */ color: oklch(42.9% 0.200 301.7);
Tailwind
colors: {
  custom: {
    50: '#9864c3',
    500: '#661ea8',
    950: '#000000',
  },
}
SCSS
$custom: #661ea8;
$custom-light: #9864c3;
$custom-dark: #000000;
JSON
{
  "hex": "#661ea8",
  "rgb": {
    "r": 102,
    "g": 30,
    "b": 168
  },
  "hsl": {
    "h": 271.304,
    "s": 69.697,
    "l": 38.824
  },
  "oklch": {
    "l": 0.42938,
    "c": 0.20008,
    "h": 301.7
  },
  "luminance": 0.0658
}

Semantic roles & 50–950 ramp

primary
#661EA8
secondary
#8FC75B
accent
#ED3B90
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0613
muted
#7E7A82

Preview Lab

Preview with #661EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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