#661A5E#661A5E

#661A5E is a dark, vivid purple. Relative luminance 0.044; OKLCH L 37.0% C 0.135 H 332.6°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#661A5E
RGBrgb(102, 26, 94)
HSLhsl(306, 59%, 25%)
HSVhsv(306, 75%, 40%)
CMYKcmyk(0%, 74.5%, 7.8%, 60%)
CIE-LABlab(24.87, 41.78, -22.74)
CIE-LCHlch(24.87, 47.56, 331.44°)
OKLaboklab(37.01% 0.1202 -0.0624)
OKLCHoklch(37.01% 0.135 332.6)
XYZxyz(7.8693, 4.3724, 11.0170)
Luminance0.0437 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661A5E #1A6622
analogous
#481A66 #661A5E #661A38
triadic
#661A5E #5E661A #1A5E66
tetradic
#661A5E #66481A #1A6622 #1A3866
square
#661A5E #66481A #1A6622 #1A3866
split-complementary
#661A5E #38661A #1A6648
monochromatic
#180616 #350E31 #661A5E #97268B #C833B8

Accessibility & contrast

On white

11.20
#661A5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#661A5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661A5E
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661A5E#FFFFFF#000000##FFFFFF
##661A5E1.0011.201.8711.20
#FFFFFF11.201.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163460
Deuteranopia (green-blind)
#323F5C
Tritanopia (blue-blind)
#6B223A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #661a5e;
/* rgb */ color: rgb(102, 26, 94);
/* oklch */ color: oklch(37.0% 0.135 332.6);
Tailwind
colors: {
  custom: {
    50: '#945f8c',
    500: '#661a5e',
    950: '#000000',
  },
}
SCSS
$custom: #661a5e;
$custom-light: #945f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#661a5e",
  "rgb": {
    "r": 102,
    "g": 26,
    "b": 94
  },
  "hsl": {
    "h": 306.316,
    "s": 59.375,
    "l": 25.098
  },
  "oklch": {
    "l": 0.37011,
    "c": 0.13539,
    "h": 332.6
  },
  "luminance": 0.04372
}

Semantic roles & 50–950 ramp

primary
#661A5E
secondary
#409C4A
accent
#E35645
background
#F9F5F8
surface
#F2EAF0
border
#CCC6CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #661A5E

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

Preview Lab → · Contrast checker → · Palette generator →

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