#662499#662499

#662499 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.2% C 0.179 H 305.5°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#662499
RGBrgb(102, 36, 153)
HSLhsl(274, 62%, 37%)
HSVhsv(274, 76%, 60%)
CMYKcmyk(33.3%, 76.5%, 0%, 40%)
CIE-LABlab(30.37, 49.99, -51.26)
CIE-LCHlch(30.37, 71.60, 314.28°)
OKLaboklab(42.22% 0.1041 -0.1459)
OKLCHoklch(42.22% 0.179 305.5)
XYZxyz(11.8589, 6.3865, 30.7388)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#662499 #579924
analogous
#2B2499 #662499 #992492
triadic
#662499 #996624 #249966
tetradic
#662499 #992B24 #579924 #249299
square
#662499 #992B24 #579924 #249299
split-complementary
#662499 #929924 #24992B
monochromatic
#240D36 #451867 #662499 #8730CB #A45ED9

Accessibility & contrast

On white

9.22
#662499 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#662499 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #662499
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##662499#FFFFFF#000000##FFFFFF
##6624991.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469C
Deuteranopia (green-blind)
#004897
Tritanopia (blue-blind)
#5D415D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #662499;
/* rgb */ color: rgb(102, 36, 153);
/* oklch */ color: oklch(42.2% 0.179 305.5);
Tailwind
colors: {
  custom: {
    50: '#9766b8',
    500: '#662499',
    950: '#000000',
  },
}
SCSS
$custom: #662499;
$custom-light: #9766b8;
$custom-dark: #000000;
JSON
{
  "hex": "#662499",
  "rgb": {
    "r": 102,
    "g": 36,
    "b": 153
  },
  "hsl": {
    "h": 273.846,
    "s": 61.905,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42222,
    "c": 0.1792,
    "h": 305.5
  },
  "luminance": 0.06386
}

Semantic roles & 50–950 ramp

primary
#662499
secondary
#86BE5B
accent
#E5438A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #662499

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

Preview Lab → · Contrast checker → · Palette generator →

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