#662973#662973

#662973 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.0% C 0.133 H 320.2°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#662973
RGBrgb(102, 41, 115)
HSLhsl(289, 47%, 31%)
HSVhsv(289, 64%, 45%)
CMYKcmyk(11.3%, 64.3%, 0%, 54.9%)
CIE-LABlab(28.51, 39.10, -30.56)
CIE-LCHlch(28.51, 49.63, 321.99°)
OKLaboklab(40.04% 0.1024 -0.0852)
OKLCHoklch(40.04% 0.133 320.2)
XYZxyz(9.3666, 5.6489, 16.8133)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#662973 #367329
analogous
#412973 #662973 #73295B
triadic
#662973 #736629 #297366
tetradic
#662973 #734129 #367329 #295B73
square
#662973 #734129 #367329 #295B73
split-complementary
#662973 #5B7329 #297341
monochromatic
#160919 #3E1946 #662973 #8E39A0 #AF54C2

Accessibility & contrast

On white

9.86
#662973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#662973 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #662973
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##662973#FFFFFF#000000##FFFFFF
##6629731.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173F75
Deuteranopia (green-blind)
#2F4571
Tritanopia (blue-blind)
#67354A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #662973;
/* rgb */ color: rgb(102, 41, 115);
/* oklch */ color: oklch(40.0% 0.133 320.2);
Tailwind
colors: {
  custom: {
    50: '#94679c',
    500: '#662973',
    950: '#000000',
  },
}
SCSS
$custom: #662973;
$custom-light: #94679c;
$custom-dark: #000000;
JSON
{
  "hex": "#662973",
  "rgb": {
    "r": 102,
    "g": 41,
    "b": 115
  },
  "hsl": {
    "h": 289.459,
    "s": 47.436,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40043,
    "c": 0.13319,
    "h": 320.2
  },
  "luminance": 0.05648
}

Semantic roles & 50–950 ramp

primary
#662973
secondary
#61A553
accent
#D75168
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D060E
muted
#7E7A7E

Preview Lab

Preview with #662973

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

Preview Lab → · Contrast checker → · Palette generator →

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