#661CA8#661CA8

#661CA8 is a dark, highly saturated violet. Relative luminance 0.065; OKLCH L 42.8% C 0.202 H 301.8°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#661CA8
RGBrgb(102, 28, 168)
HSLhsl(272, 71%, 38%)
HSVhsv(272, 83%, 66%)
CMYKcmyk(39.3%, 83.3%, 0%, 34.1%)
CIE-LABlab(30.60, 56.50, -59.98)
CIE-LCHlch(30.60, 82.40, 313.29°)
OKLaboklab(42.78% 0.1064 -0.1714)
OKLCHoklch(42.78% 0.202 301.8)
XYZxyz(12.9609, 6.4824, 37.6066)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661CA8 #5EA81C
analogous
#201CA8 #661CA8 #A81CA4
triadic
#661CA8 #A8661C #1CA866
tetradic
#661CA8 #A8201C #5EA81C #1CA4A8
square
#661CA8 #A8201C #5EA81C #1CA4A8
split-complementary
#661CA8 #A4A81C #1CA820
monochromatic
#260B3F #461374 #661CA8 #8626DB #A35BE4

Accessibility & contrast

On white

9.14
#661CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #661CA8
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661CA8#FFFFFF#000000##FFFFFF
##661CA81.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AC
Deuteranopia (green-blind)
#0047A5
Tritanopia (blue-blind)
#574464
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #661ca8;
/* rgb */ color: rgb(102, 28, 168);
/* oklch */ color: oklch(42.8% 0.202 301.8);
Tailwind
colors: {
  custom: {
    50: '#9863c3',
    500: '#661ca8',
    950: '#000000',
  },
}
SCSS
$custom: #661ca8;
$custom-light: #9863c3;
$custom-dark: #000000;
JSON
{
  "hex": "#661ca8",
  "rgb": {
    "r": 102,
    "g": 28,
    "b": 168
  },
  "hsl": {
    "h": 271.714,
    "s": 71.429,
    "l": 38.431
  },
  "oklch": {
    "l": 0.42776,
    "c": 0.20175,
    "h": 301.8
  },
  "luminance": 0.06482
}

Semantic roles & 50–950 ramp

primary
#661CA8
secondary
#8DC758
accent
#EE3A8F
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0613
muted
#7E7A82

Preview Lab

Preview with #661CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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