#661BB4#661BB4

#661BB4 is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.8% C 0.214 H 298.7°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#661BB4
RGBrgb(102, 27, 180)
HSLhsl(269, 74%, 41%)
HSVhsv(269, 85%, 71%)
CMYKcmyk(43.3%, 85%, 0%, 29.4%)
CIE-LABlab(31.59, 59.62, -65.55)
CIE-LCHlch(31.59, 88.61, 312.29°)
OKLaboklab(43.79% 0.1029 -0.1877)
OKLCHoklch(43.79% 0.214 298.7)
XYZxyz(14.1075, 6.9037, 43.7604)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661BB4 #69B41B
analogous
#1B1CB4 #661BB4 #B21BB4
triadic
#661BB4 #B4661B #1BB466
tetradic
#661BB4 #B41B1C #69B41B #1BB4B2
square
#661BB4 #B41B1C #69B41B #1BB4B2
split-complementary
#661BB4 #B4B21B #1CB41B
monochromatic
#2A0B4A #48137F #661BB4 #842DDF #A362E7

Accessibility & contrast

On white

8.82
#661BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#661BB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661BB4
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661BB4#FFFFFF#000000##FFFFFF
##661BB41.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB8
Deuteranopia (green-blind)
#0049B1
Tritanopia (blue-blind)
#52496B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #661bb4;
/* rgb */ color: rgb(102, 27, 180);
/* oklch */ color: oklch(43.8% 0.214 298.7);
Tailwind
colors: {
  custom: {
    50: '#9a64cc',
    500: '#661bb4',
    950: '#000000',
  },
}
SCSS
$custom: #661bb4;
$custom-light: #9a64cc;
$custom-dark: #000000;
JSON
{
  "hex": "#661bb4",
  "rgb": {
    "r": 102,
    "g": 27,
    "b": 180
  },
  "hsl": {
    "h": 269.412,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.43792,
    "c": 0.21408,
    "h": 298.7
  },
  "luminance": 0.06904
}

Semantic roles & 50–950 ramp

primary
#661BB4
secondary
#96CC5F
accent
#F13796
background
#FAF6FC
surface
#F3EBF9
border
#CDC6D2
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #661BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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