#663296#663296

#663296 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.7% C 0.158 H 304.5°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#663296
RGBrgb(102, 50, 150)
HSLhsl(271, 50%, 39%)
HSVhsv(271, 67%, 59%)
CMYKcmyk(32%, 66.7%, 0%, 41.2%)
CIE-LABlab(32.50, 42.65, -45.97)
CIE-LCHlch(32.50, 62.71, 312.85°)
OKLaboklab(43.67% 0.0896 -0.1304)
OKLCHoklch(43.67% 0.158 304.5)
XYZxyz(12.1239, 7.3080, 29.6201)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663296 #629632
analogous
#343296 #663296 #963294
triadic
#663296 #966632 #329666
tetradic
#663296 #963432 #629632 #329496
square
#663296 #963432 #629632 #329496
split-complementary
#663296 #949632 #329634
monochromatic
#28133A #472368 #663296 #8544C1 #A372D0

Accessibility & contrast

On white

8.53
#663296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#663296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663296
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663296#FFFFFF#000000##FFFFFF
##6632961.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B99
Deuteranopia (green-blind)
#134C94
Tritanopia (blue-blind)
#5D485F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #663296;
/* rgb */ color: rgb(102, 50, 150);
/* oklch */ color: oklch(43.7% 0.158 304.5);
Tailwind
colors: {
  custom: {
    50: '#966db5',
    500: '#663296',
    950: '#000000',
  },
}
SCSS
$custom: #663296;
$custom-light: #966db5;
$custom-dark: #000000;
JSON
{
  "hex": "#663296",
  "rgb": {
    "r": 102,
    "g": 50,
    "b": 150
  },
  "hsl": {
    "h": 271.2,
    "s": 50,
    "l": 39.216
  },
  "oklch": {
    "l": 0.43668,
    "c": 0.15824,
    "h": 304.5
  },
  "luminance": 0.07308
}

Semantic roles & 50–950 ramp

primary
#663296
secondary
#90B86C
accent
#DA4E91
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #663296

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

Preview Lab → · Contrast checker → · Palette generator →

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