#663282#663282

#663282 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.3% C 0.135 H 312.0°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#663282
RGBrgb(102, 50, 130)
HSLhsl(279, 44%, 35%)
HSVhsv(279, 62%, 51%)
CMYKcmyk(21.5%, 61.5%, 0%, 49%)
CIE-LABlab(31.16, 37.78, -35.79)
CIE-LCHlch(31.16, 52.04, 316.55°)
OKLaboklab(42.27% 0.0905 -0.1005)
OKLCHoklch(42.27% 0.135 312)
XYZxyz(10.6486, 6.7179, 21.8505)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663282 #4E8232
analogous
#3E3282 #663282 #823276
triadic
#663282 #826632 #328266
tetradic
#663282 #823E32 #4E8232 #327682
square
#663282 #823E32 #4E8232 #327682
split-complementary
#663282 #768232 #32823E
monochromatic
#21102A #432156 #663282 #8943AE #A569C5

Accessibility & contrast

On white

8.96
#663282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#663282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663282
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663282#FFFFFF#000000##FFFFFF
##6632821.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164785
Deuteranopia (green-blind)
#2C4A80
Tritanopia (blue-blind)
#634155
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #663282;
/* rgb */ color: rgb(102, 50, 130);
/* oklch */ color: oklch(42.3% 0.135 312.0);
Tailwind
colors: {
  custom: {
    50: '#946da7',
    500: '#663282',
    950: '#000000',
  },
}
SCSS
$custom: #663282;
$custom-light: #946da7;
$custom-dark: #000000;
JSON
{
  "hex": "#663282",
  "rgb": {
    "r": 102,
    "g": 50,
    "b": 130
  },
  "hsl": {
    "h": 279,
    "s": 44.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.42267,
    "c": 0.13526,
    "h": 312
  },
  "luminance": 0.06718
}

Semantic roles & 50–950 ramp

primary
#663282
secondary
#7DAD63
accent
#D45481
background
#F9F6FA
surface
#F2ECF4
border
#CCC7CE
text
#0D070F
muted
#7E7A7F

Preview Lab

Preview with #663282

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

Preview Lab → · Contrast checker → · Palette generator →

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