#661A5F#661A5F

#661A5F is a dark, vivid purple. Relative luminance 0.044; OKLCH L 37.1% C 0.136 H 332.0°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#661A5F
RGBrgb(102, 26, 95)
HSLhsl(306, 59%, 25%)
HSVhsv(306, 75%, 40%)
CMYKcmyk(0%, 74.5%, 6.9%, 60%)
CIE-LABlab(24.92, 41.95, -23.31)
CIE-LCHlch(24.92, 47.99, 330.94°)
OKLaboklab(37.07% 0.1202 -0.064)
OKLCHoklch(37.07% 0.136 332)
XYZxyz(7.9145, 4.3904, 11.2549)
Luminance0.0439 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661A5F #1A6621
analogous
#471A66 #661A5F #661A39
triadic
#661A5F #5F661A #1A5F66
tetradic
#661A5F #66471A #1A6621 #1A3966
square
#661A5F #66471A #1A6621 #1A3966
split-complementary
#661A5F #39661A #1A6647
monochromatic
#180617 #350E32 #661A5F #97268C #C833BA

Accessibility & contrast

On white

11.18
#661A5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#661A5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661A5F
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661A5F#FFFFFF#000000##FFFFFF
##661A5F1.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153461
Deuteranopia (green-blind)
#323F5D
Tritanopia (blue-blind)
#6A223A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #661a5f;
/* rgb */ color: rgb(102, 26, 95);
/* oklch */ color: oklch(37.1% 0.136 332.0);
Tailwind
colors: {
  custom: {
    50: '#945f8c',
    500: '#661a5f',
    950: '#000000',
  },
}
SCSS
$custom: #661a5f;
$custom-light: #945f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#661a5f",
  "rgb": {
    "r": 102,
    "g": 26,
    "b": 95
  },
  "hsl": {
    "h": 305.526,
    "s": 59.375,
    "l": 25.098
  },
  "oklch": {
    "l": 0.3707,
    "c": 0.13621,
    "h": 332
  },
  "luminance": 0.0439
}

Semantic roles & 50–950 ramp

primary
#661A5F
secondary
#409C49
accent
#E35445
background
#F9F5F8
surface
#F2EAF0
border
#CCC6CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #661A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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