#663299#663299

#663299 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 43.9% C 0.162 H 303.5°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#663299
RGBrgb(102, 50, 153)
HSLhsl(270, 51%, 40%)
HSVhsv(270, 67%, 60%)
CMYKcmyk(33.3%, 67.3%, 0%, 40%)
CIE-LABlab(32.71, 43.40, -47.45)
CIE-LCHlch(32.71, 64.31, 312.45°)
OKLaboklab(43.89% 0.0894 -0.1348)
OKLCHoklch(43.89% 0.162 303.5)
XYZxyz(12.3685, 7.4059, 30.9087)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663299 #659932
analogous
#323299 #663299 #993299
triadic
#663299 #996632 #329966
tetradic
#663299 #993232 #659932 #329999
square
#663299 #993232 #659932 #329999
split-complementary
#663299 #999932 #329932
monochromatic
#28143D #47236B #663299 #8546C2 #A374D2

Accessibility & contrast

On white

8.46
#663299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#663299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663299
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663299#FFFFFF#000000##FFFFFF
##6632991.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9C
Deuteranopia (green-blind)
#0C4D97
Tritanopia (blue-blind)
#5C4961
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #663299;
/* rgb */ color: rgb(102, 50, 153);
/* oklch */ color: oklch(43.9% 0.162 303.5);
Tailwind
colors: {
  custom: {
    50: '#966db8',
    500: '#663299',
    950: '#000000',
  },
}
SCSS
$custom: #663299;
$custom-light: #966db8;
$custom-dark: #000000;
JSON
{
  "hex": "#663299",
  "rgb": {
    "r": 102,
    "g": 50,
    "b": 153
  },
  "hsl": {
    "h": 270.291,
    "s": 50.739,
    "l": 39.804
  },
  "oklch": {
    "l": 0.43891,
    "c": 0.16169,
    "h": 303.5
  },
  "luminance": 0.07406
}

Semantic roles & 50–950 ramp

primary
#663299
secondary
#93BA6D
accent
#DA4E93
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #663299

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

Preview Lab → · Contrast checker → · Palette generator →

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