#662160#662160

#662160 is a dark, vivid purple. Relative luminance 0.048; OKLCH L 37.9% C 0.127 H 331.4°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#662160
RGBrgb(102, 33, 96)
HSLhsl(305, 51%, 26%)
HSVhsv(305, 68%, 40%)
CMYKcmyk(0%, 67.6%, 5.9%, 60%)
CIE-LABlab(26.03, 39.17, -22.22)
CIE-LCHlch(26.03, 45.03, 330.44°)
OKLaboklab(37.89% 0.1118 -0.061)
OKLCHoklch(37.89% 0.127 331.4)
XYZxyz(8.1346, 4.7576, 11.5539)
Luminance0.0476 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#662160 #216627
analogous
#4A2166 #662160 #66213E
triadic
#662160 #606621 #216066
tetradic
#662160 #664A21 #216627 #213E66
square
#662160 #664A21 #216627 #213E66
split-complementary
#662160 #3E6621 #21664A
monochromatic
#170716 #381234 #662160 #94308C #C140B6

Accessibility & contrast

On white

10.76
#662160 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#662160 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #662160
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##662160#FFFFFF#000000##FFFFFF
##6621601.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3762
Deuteranopia (green-blind)
#35415E
Tritanopia (blue-blind)
#6A283D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #662160;
/* rgb */ color: rgb(102, 33, 96);
/* oklch */ color: oklch(37.9% 0.127 331.4);
Tailwind
colors: {
  custom: {
    50: '#94628d',
    500: '#662160',
    950: '#000000',
  },
}
SCSS
$custom: #662160;
$custom-light: #94628d;
$custom-dark: #000000;
JSON
{
  "hex": "#662160",
  "rgb": {
    "r": 102,
    "g": 33,
    "b": 96
  },
  "hsl": {
    "h": 305.217,
    "s": 51.111,
    "l": 26.471
  },
  "oklch": {
    "l": 0.37892,
    "c": 0.1273,
    "h": 331.4
  },
  "luminance": 0.04757
}

Semantic roles & 50–950 ramp

primary
#662160
secondary
#499A50
accent
#DB5A4D
background
#F9F6F8
surface
#F2EBF0
border
#CCC6CB
text
#0D050C
muted
#7E7A7D

Preview Lab

Preview with #662160

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

Preview Lab → · Contrast checker → · Palette generator →

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