#662F73#662F73

#662F73 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 40.9% C 0.123 H 319.6°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#662F73
RGBrgb(102, 47, 115)
HSLhsl(289, 42%, 32%)
HSVhsv(289, 59%, 45%)
CMYKcmyk(11.3%, 59.1%, 0%, 54.9%)
CIE-LABlab(29.65, 35.99, -28.74)
CIE-LCHlch(29.65, 46.06, 321.39°)
OKLaboklab(40.88% 0.094 -0.08)
OKLCHoklch(40.88% 0.123 319.6)
XYZxyz(9.5901, 6.0960, 16.8878)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#662F73 #3C732F
analogous
#442F73 #662F73 #732F5E
triadic
#662F73 #73662F #2F7366
tetradic
#662F73 #73442F #3C732F #2F5E73
square
#662F73 #73442F #3C732F #2F5E73
split-complementary
#662F73 #5E732F #2F7344
monochromatic
#190B1C #3F1D48 #662F73 #8D419E #AB5FBE

Accessibility & contrast

On white

9.46
#662F73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#662F73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #662F73
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##662F73#FFFFFF#000000##FFFFFF
##662F731.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214275
Deuteranopia (green-blind)
#344871
Tritanopia (blue-blind)
#66394C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #662f73;
/* rgb */ color: rgb(102, 47, 115);
/* oklch */ color: oklch(40.9% 0.123 319.6);
Tailwind
colors: {
  custom: {
    50: '#946b9b',
    500: '#662f73',
    950: '#000000',
  },
}
SCSS
$custom: #662f73;
$custom-light: #946b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#662f73",
  "rgb": {
    "r": 102,
    "g": 47,
    "b": 115
  },
  "hsl": {
    "h": 288.529,
    "s": 41.975,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40878,
    "c": 0.12344,
    "h": 319.6
  },
  "luminance": 0.06096
}

Semantic roles & 50–950 ramp

primary
#662F73
secondary
#68A45A
accent
#D2566E
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D070E
muted
#7E7A7E

Preview Lab

Preview with #662F73

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

Preview Lab → · Contrast checker → · Palette generator →

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