#662479#662479

#662479 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 39.8% C 0.147 H 317.8°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#662479
RGBrgb(102, 36, 121)
HSLhsl(287, 54%, 31%)
HSVhsv(287, 70%, 47%)
CMYKcmyk(15.7%, 70.2%, 0%, 52.5%)
CIE-LABlab(28.03, 42.77, -35.14)
CIE-LCHlch(28.03, 55.35, 320.59°)
OKLaboklab(39.82% 0.1086 -0.0985)
OKLCHoklch(39.82% 0.147 317.8)
XYZxyz(9.5611, 5.4674, 18.6371)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#662479 #377924
analogous
#3B2479 #662479 #792461
triadic
#662479 #796624 #247966
tetradic
#662479 #793B24 #377924 #246179
square
#662479 #793B24 #377924 #246179
split-complementary
#662479 #617924 #24793B
monochromatic
#16081B #3E164A #662479 #8E32A8 #AE4DCA

Accessibility & contrast

On white

10.03
#662479 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#662479 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #662479
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##662479#FFFFFF#000000##FFFFFF
##6624791.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7B
Deuteranopia (green-blind)
#274477
Tritanopia (blue-blind)
#65344B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #662479;
/* rgb */ color: rgb(102, 36, 121);
/* oklch */ color: oklch(39.8% 0.147 317.8);
Tailwind
colors: {
  custom: {
    50: '#9565a0',
    500: '#662479',
    950: '#000000',
  },
}
SCSS
$custom: #662479;
$custom-light: #9565a0;
$custom-dark: #000000;
JSON
{
  "hex": "#662479",
  "rgb": {
    "r": 102,
    "g": 36,
    "b": 121
  },
  "hsl": {
    "h": 286.588,
    "s": 54.14,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39818,
    "c": 0.14666,
    "h": 317.8
  },
  "luminance": 0.05467
}

Semantic roles & 50–950 ramp

primary
#662479
secondary
#62AC4D
accent
#DE4A6B
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060F
muted
#7E7A7E

Preview Lab

Preview with #662479

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

Preview Lab → · Contrast checker → · Palette generator →

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