#661B6E#661B6E

#661B6E is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.1% C 0.148 H 323.7°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#661B6E
RGBrgb(102, 27, 110)
HSLhsl(294, 61%, 27%)
HSVhsv(294, 75%, 43%)
CMYKcmyk(7.3%, 75.5%, 0%, 56.9%)
CIE-LABlab(25.97, 44.32, -31.41)
CIE-LCHlch(25.97, 54.32, 324.68°)
OKLaboklab(38.11% 0.1193 -0.0876)
OKLCHoklch(38.11% 0.148 323.7)
XYZxyz(8.6856, 4.7350, 15.2053)
Luminance0.0473 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661B6E #236E1B
analogous
#3D1B6E #661B6E #6E1B4D
triadic
#661B6E #6E661B #1B6E66
tetradic
#661B6E #6E3D1B #236E1B #1B4D6E
square
#661B6E #6E3D1B #236E1B #1B4D6E
split-complementary
#661B6E #4D6E1B #1B6E3D
monochromatic
#170619 #380F3D #661B6E #94279F #BF36CE

Accessibility & contrast

On white

10.79
#661B6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#661B6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661B6E
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661B6E#FFFFFF#000000##FFFFFF
##661B6E1.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003870
Deuteranopia (green-blind)
#2A406C
Tritanopia (blue-blind)
#682A43
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #661b6e;
/* rgb */ color: rgb(102, 27, 110);
/* oklch */ color: oklch(38.1% 0.148 323.7);
Tailwind
colors: {
  custom: {
    50: '#956098',
    500: '#661b6e',
    950: '#000000',
  },
}
SCSS
$custom: #661b6e;
$custom-light: #956098;
$custom-dark: #000000;
JSON
{
  "hex": "#661b6e",
  "rgb": {
    "r": 102,
    "g": 27,
    "b": 110
  },
  "hsl": {
    "h": 294.217,
    "s": 60.584,
    "l": 26.863
  },
  "oklch": {
    "l": 0.38112,
    "c": 0.14799,
    "h": 323.7
  },
  "luminance": 0.04734
}

Semantic roles & 50–950 ramp

primary
#661B6E
secondary
#4BA342
accent
#E44453
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #661B6E

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

Preview Lab → · Contrast checker → · Palette generator →

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