#662467#662467

#662467 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 38.7% C 0.129 H 327.1°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#662467
RGBrgb(102, 36, 103)
HSLhsl(299, 48%, 27%)
HSVhsv(299, 65%, 40%)
CMYKcmyk(1%, 65%, 0%, 59.6%)
CIE-LABlab(26.92, 39.09, -25.37)
CIE-LCHlch(26.92, 46.60, 327.02°)
OKLaboklab(38.66% 0.1084 -0.0701)
OKLCHoklch(38.66% 0.129 327.1)
XYZxyz(8.5584, 5.0664, 13.3565)
Luminance0.0507 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#662467 #256724
analogous
#442467 #662467 #672447
triadic
#662467 #676624 #246766
tetradic
#662467 #674424 #256724 #244767
square
#662467 #674424 #256724 #244767
split-complementary
#662467 #476724 #246744
monochromatic
#160817 #39143A #662467 #933494 #BD47BF

Accessibility & contrast

On white

10.43
#662467 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#662467 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #662467
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##662467#FFFFFF#000000##FFFFFF
##6624671.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3A69
Deuteranopia (green-blind)
#334365
Tritanopia (blue-blind)
#692D42
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #662467;
/* rgb */ color: rgb(102, 36, 103);
/* oklch */ color: oklch(38.7% 0.129 327.1);
Tailwind
colors: {
  custom: {
    50: '#946492',
    500: '#662467',
    950: '#000000',
  },
}
SCSS
$custom: #662467;
$custom-light: #946492;
$custom-dark: #000000;
JSON
{
  "hex": "#662467",
  "rgb": {
    "r": 102,
    "g": 36,
    "b": 103
  },
  "hsl": {
    "h": 299.104,
    "s": 48.201,
    "l": 27.255
  },
  "oklch": {
    "l": 0.38664,
    "c": 0.12911,
    "h": 327.1
  },
  "luminance": 0.05066
}

Semantic roles & 50–950 ramp

primary
#662467
secondary
#4E9A4C
accent
#D85052
background
#F9F6F9
surface
#F2EBF1
border
#CCC6CB
text
#0D060D
muted
#7E7A7E

Preview Lab

Preview with #662467

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

Preview Lab → · Contrast checker → · Palette generator →

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