#661BB3#661BB3

#661BB3 is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.7% C 0.213 H 299.0°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#661BB3
RGBrgb(102, 27, 179)
HSLhsl(270, 74%, 40%)
HSVhsv(270, 85%, 70%)
CMYKcmyk(43%, 84.9%, 0%, 29.8%)
CIE-LABlab(31.49, 59.38, -65.11)
CIE-LCHlch(31.49, 88.12, 312.37°)
OKLaboklab(43.7% 0.1032 -0.1864)
OKLCHoklch(43.7% 0.213 299)
XYZxyz(14.0060, 6.8631, 43.2259)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661BB3 #68B31B
analogous
#1B1CB3 #661BB3 #B21BB3
triadic
#661BB3 #B3661B #1BB366
tetradic
#661BB3 #B31B1C #68B31B #1BB3B2
square
#661BB3 #B31B1C #68B31B #1BB3B2
split-complementary
#661BB3 #B3B21B #1CB31B
monochromatic
#290B49 #48137E #661BB3 #842CDF #A361E7

Accessibility & contrast

On white

8.85
#661BB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#661BB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661BB3
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661BB3#FFFFFF#000000##FFFFFF
##661BB31.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB7
Deuteranopia (green-blind)
#0049B0
Tritanopia (blue-blind)
#52496A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #661bb3;
/* rgb */ color: rgb(102, 27, 179);
/* oklch */ color: oklch(43.7% 0.213 299.0);
Tailwind
colors: {
  custom: {
    50: '#9a64cb',
    500: '#661bb3',
    950: '#000000',
  },
}
SCSS
$custom: #661bb3;
$custom-light: #9a64cb;
$custom-dark: #000000;
JSON
{
  "hex": "#661bb3",
  "rgb": {
    "r": 102,
    "g": 27,
    "b": 179
  },
  "hsl": {
    "h": 269.605,
    "s": 73.786,
    "l": 40.392
  },
  "oklch": {
    "l": 0.43699,
    "c": 0.21311,
    "h": 299
  },
  "luminance": 0.06863
}

Semantic roles & 50–950 ramp

primary
#661BB3
secondary
#96CC5E
accent
#F03795
background
#FAF6FC
surface
#F3EBF9
border
#CDC6D2
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #661BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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