#661B5F#661B5F

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

Color values

HEX#661B5F
RGBrgb(102, 27, 95)
HSLhsl(306, 58%, 25%)
HSVhsv(306, 74%, 40%)
CMYKcmyk(0%, 73.5%, 6.9%, 60%)
CIE-LABlab(25.06, 41.55, -23.09)
CIE-LCHlch(25.06, 47.54, 330.94°)
OKLaboklab(37.17% 0.1191 -0.0634)
OKLCHoklch(37.17% 0.135 332)
XYZxyz(7.9370, 4.4355, 11.2624)
Luminance0.0444 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661B5F #1B6622
analogous
#471B66 #661B5F #661B39
triadic
#661B5F #5F661B #1B5F66
tetradic
#661B5F #66471B #1B6622 #1B3966
square
#661B5F #66471B #1B6622 #1B3966
split-complementary
#661B5F #39661B #1B6647
monochromatic
#180617 #360E32 #661B5F #96288C #C735B9

Accessibility & contrast

On white

11.13
#661B5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#661B5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661B5F
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661B5F#FFFFFF#000000##FFFFFF
##661B5F1.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #661b5f;
/* rgb */ color: rgb(102, 27, 95);
/* oklch */ color: oklch(37.2% 0.135 332.0);
Tailwind
colors: {
  custom: {
    50: '#945f8c',
    500: '#661b5f',
    950: '#000000',
  },
}
SCSS
$custom: #661b5f;
$custom-light: #945f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#661b5f",
  "rgb": {
    "r": 102,
    "g": 27,
    "b": 95
  },
  "hsl": {
    "h": 305.6,
    "s": 58.14,
    "l": 25.294
  },
  "oklch": {
    "l": 0.37171,
    "c": 0.13492,
    "h": 332
  },
  "luminance": 0.04435
}

Semantic roles & 50–950 ramp

primary
#661B5F
secondary
#419B4A
accent
#E15546
background
#F9F5F8
surface
#F2EAF0
border
#CCC6CB
text
#0D050C
muted
#7E797D

Preview Lab

Preview with #661B5F

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

Preview Lab → · Contrast checker → · Palette generator →

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