#662E73#662E73

#662E73 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 40.7% C 0.125 H 319.7°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#662E73
RGBrgb(102, 46, 115)
HSLhsl(289, 43%, 32%)
HSVhsv(289, 60%, 45%)
CMYKcmyk(11.3%, 60%, 0%, 54.9%)
CIE-LABlab(29.46, 36.52, -29.06)
CIE-LCHlch(29.46, 46.67, 321.50°)
OKLaboklab(40.73% 0.0955 -0.0809)
OKLCHoklch(40.73% 0.125 319.7)
XYZxyz(9.5506, 6.0170, 16.8746)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#662E73 #3B732E
analogous
#442E73 #662E73 #732E5E
triadic
#662E73 #73662E #2E7366
tetradic
#662E73 #73442E #3B732E #2E5E73
square
#662E73 #73442E #3B732E #2E5E73
split-complementary
#662E73 #5E732E #2E7344
monochromatic
#180B1C #3F1D47 #662E73 #8D3F9F #AC5DBE

Accessibility & contrast

On white

9.53
#662E73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#662E73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #662E73
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##662E73#FFFFFF#000000##FFFFFF
##662E731.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4275
Deuteranopia (green-blind)
#334771
Tritanopia (blue-blind)
#66394C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #662e73;
/* rgb */ color: rgb(102, 46, 115);
/* oklch */ color: oklch(40.7% 0.125 319.7);
Tailwind
colors: {
  custom: {
    50: '#946a9b',
    500: '#662e73',
    950: '#000000',
  },
}
SCSS
$custom: #662e73;
$custom-light: #946a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#662e73",
  "rgb": {
    "r": 102,
    "g": 46,
    "b": 115
  },
  "hsl": {
    "h": 288.696,
    "s": 42.857,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40733,
    "c": 0.12512,
    "h": 319.7
  },
  "luminance": 0.06017
}

Semantic roles & 50–950 ramp

primary
#662E73
secondary
#67A458
accent
#D3556D
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D070E
muted
#7E7A7E

Preview Lab

Preview with #662E73

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

Preview Lab → · Contrast checker → · Palette generator →

#662E73 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva