#661CAA#661CAA

#661CAA is a dark, highly saturated violet. Relative luminance 0.066; OKLCH L 43.0% C 0.204 H 301.3°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#661CAA
RGBrgb(102, 28, 170)
HSLhsl(271, 72%, 39%)
HSVhsv(271, 84%, 67%)
CMYKcmyk(40%, 83.5%, 0%, 33.3%)
CIE-LABlab(30.78, 56.97, -60.89)
CIE-LCHlch(30.78, 83.38, 313.09°)
OKLaboklab(42.96% 0.1057 -0.1741)
OKLCHoklch(42.96% 0.204 301.3)
XYZxyz(13.1487, 6.5575, 38.5954)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661CAA #60AA1C
analogous
#1F1CAA #661CAA #AA1CA7
triadic
#661CAA #AA661C #1CAA66
tetradic
#661CAA #AA1F1C #60AA1C #1CA7AA
square
#661CAA #AA1F1C #60AA1C #1CA7AA
split-complementary
#661CAA #A7AA1C #1CAA1F
monochromatic
#270B41 #461375 #661CAA #8528DC #A35CE4

Accessibility & contrast

On white

9.08
#661CAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #661CAA
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661CAA#FFFFFF#000000##FFFFFF
##661CAA1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AE
Deuteranopia (green-blind)
#0048A7
Tritanopia (blue-blind)
#564565
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #661caa;
/* rgb */ color: rgb(102, 28, 170);
/* oklch */ color: oklch(43.0% 0.204 301.3);
Tailwind
colors: {
  custom: {
    50: '#9963c4',
    500: '#661caa',
    950: '#000000',
  },
}
SCSS
$custom: #661caa;
$custom-light: #9963c4;
$custom-dark: #000000;
JSON
{
  "hex": "#661caa",
  "rgb": {
    "r": 102,
    "g": 28,
    "b": 170
  },
  "hsl": {
    "h": 271.268,
    "s": 71.717,
    "l": 38.824
  },
  "oklch": {
    "l": 0.42955,
    "c": 0.20368,
    "h": 301.3
  },
  "luminance": 0.06558
}

Semantic roles & 50–950 ramp

primary
#661CAA
secondary
#8FC85A
accent
#EE3990
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0613
muted
#7E7A82

Preview Lab

Preview with #661CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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