#662473#662473

#662473 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.4% C 0.141 H 320.7°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#662473
RGBrgb(102, 36, 115)
HSLhsl(290, 52%, 30%)
HSVhsv(290, 69%, 45%)
CMYKcmyk(11.3%, 68.7%, 0%, 54.9%)
CIE-LABlab(27.64, 41.50, -31.94)
CIE-LCHlch(27.64, 52.37, 322.42°)
OKLaboklab(39.42% 0.1088 -0.0892)
OKLCHoklch(39.42% 0.141 320.7)
XYZxyz(9.2045, 5.3248, 16.7593)
Luminance0.0532 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#662473 #317324
analogous
#3F2473 #662473 #732458
triadic
#662473 #736624 #247366
tetradic
#662473 #733F24 #317324 #245873
square
#662473 #733F24 #317324 #245873
split-complementary
#662473 #587324 #24733F
monochromatic
#150717 #3D1544 #662473 #8F33A2 #B24BC7

Accessibility & contrast

On white

10.17
#662473 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#662473 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #662473
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##662473#FFFFFF#000000##FFFFFF
##6624731.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3D75
Deuteranopia (green-blind)
#2C4471
Tritanopia (blue-blind)
#673248
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #662473;
/* rgb */ color: rgb(102, 36, 115);
/* oklch */ color: oklch(39.4% 0.141 320.7);
Tailwind
colors: {
  custom: {
    50: '#94649c',
    500: '#662473',
    950: '#000000',
  },
}
SCSS
$custom: #662473;
$custom-light: #94649c;
$custom-dark: #000000;
JSON
{
  "hex": "#662473",
  "rgb": {
    "r": 102,
    "g": 36,
    "b": 115
  },
  "hsl": {
    "h": 290.127,
    "s": 52.318,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39416,
    "c": 0.14069,
    "h": 320.7
  },
  "luminance": 0.05324
}

Semantic roles & 50–950 ramp

primary
#662473
secondary
#5CA64D
accent
#DC4C64
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D060E
muted
#7E7A7E

Preview Lab

Preview with #662473

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

Preview Lab → · Contrast checker → · Palette generator →

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