#662466#662466

#662466 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.6% C 0.128 H 327.7°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#662466
RGBrgb(102, 36, 102)
HSLhsl(300, 48%, 27%)
HSVhsv(300, 65%, 40%)
CMYKcmyk(0%, 64.7%, 0%, 60%)
CIE-LABlab(26.87, 38.90, -24.81)
CIE-LCHlch(26.87, 46.14, 327.47°)
OKLaboklab(38.61% 0.1084 -0.0685)
OKLCHoklch(38.61% 0.128 327.7)
XYZxyz(8.5085, 5.0464, 13.0937)
Luminance0.0505 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#662466 #246624
analogous
#452466 #662466 #662445
triadic
#662466 #666624 #246666
tetradic
#662466 #664524 #246624 #244566
square
#662466 #664524 #246624 #244566
split-complementary
#662466 #456624 #246645
monochromatic
#170817 #391439 #662466 #933493 #BE47BE

Accessibility & contrast

On white

10.45
#662466 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#662466 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #662466
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##662466#FFFFFF#000000##FFFFFF
##6624661.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3A68
Deuteranopia (green-blind)
#334364
Tritanopia (blue-blind)
#692C41
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #662466;
/* rgb */ color: rgb(102, 36, 102);
/* oklch */ color: oklch(38.6% 0.128 327.7);
Tailwind
colors: {
  custom: {
    50: '#946492',
    500: '#662466',
    950: '#000000',
  },
}
SCSS
$custom: #662466;
$custom-light: #946492;
$custom-dark: #000000;
JSON
{
  "hex": "#662466",
  "rgb": {
    "r": 102,
    "g": 36,
    "b": 102
  },
  "hsl": {
    "h": 300,
    "s": 47.826,
    "l": 27.059
  },
  "oklch": {
    "l": 0.38605,
    "c": 0.12817,
    "h": 327.7
  },
  "luminance": 0.05046
}

Semantic roles & 50–950 ramp

primary
#662466
secondary
#4C994C
accent
#D75050
background
#F9F6F9
surface
#F2EBF1
border
#CCC6CB
text
#0D060D
muted
#7E7A7E

Preview Lab

Preview with #662466

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

Preview Lab → · Contrast checker → · Palette generator →

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