#663261#663261

#663261 is a dark, moderate purple. Relative luminance 0.060; OKLCH L 40.3% C 0.099 H 330.9°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#663261
RGBrgb(102, 50, 97)
HSLhsl(306, 34%, 30%)
HSVhsv(306, 51%, 40%)
CMYKcmyk(0%, 51%, 4.9%, 60%)
CIE-LABlab(29.34, 30.59, -17.72)
CIE-LCHlch(29.34, 35.35, 329.93°)
OKLaboklab(40.34% 0.0867 -0.0483)
OKLCHoklch(40.34% 0.099 330.9)
XYZxyz(8.7777, 5.9696, 11.9968)
Luminance0.0597 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663261 #326637
analogous
#513266 #663261 #663247
triadic
#663261 #616632 #326166
tetradic
#663261 #665132 #326637 #324766
square
#663261 #665132 #326637 #324766
split-complementary
#663261 #476632 #326651
monochromatic
#150A14 #3D1E3A #663261 #8F4688 #B261AA

Accessibility & contrast

On white

9.57
#663261 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#663261 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663261
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663261#FFFFFF#000000##FFFFFF
##6632611.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304163
Deuteranopia (green-blind)
#3F485F
Tritanopia (blue-blind)
#6A3645
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #663261;
/* rgb */ color: rgb(102, 50, 97);
/* oklch */ color: oklch(40.3% 0.099 330.9);
Tailwind
colors: {
  custom: {
    50: '#936c8e',
    500: '#663261',
    950: '#000000',
  },
}
SCSS
$custom: #663261;
$custom-light: #936c8e;
$custom-dark: #000000;
JSON
{
  "hex": "#663261",
  "rgb": {
    "r": 102,
    "g": 50,
    "b": 97
  },
  "hsl": {
    "h": 305.769,
    "s": 34.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40336,
    "c": 0.09925,
    "h": 330.9
  },
  "luminance": 0.05969
}

Semantic roles & 50–950 ramp

primary
#663261
secondary
#5D9762
accent
#CA685E
background
#F9F6F8
surface
#F1EBF0
border
#CBC6CB
text
#0D070C
muted
#7E7A7D

Preview Lab

Preview with #663261

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

Preview Lab → · Contrast checker → · Palette generator →

#663261 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva