#663285#663285

#663285 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.5% C 0.139 H 310.7°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#663285
RGBrgb(102, 50, 133)
HSLhsl(278, 45%, 36%)
HSVhsv(278, 62%, 52%)
CMYKcmyk(23.3%, 62.4%, 0%, 47.8%)
CIE-LABlab(31.35, 38.49, -37.35)
CIE-LCHlch(31.35, 53.64, 315.86°)
OKLaboklab(42.47% 0.0905 -0.1051)
OKLCHoklch(42.47% 0.139 310.7)
XYZxyz(10.8529, 6.7997, 22.9265)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663285 #518532
analogous
#3C3285 #663285 #85327A
triadic
#663285 #856632 #328566
tetradic
#663285 #853C32 #518532 #327A85
square
#663285 #853C32 #518532 #327A85
split-complementary
#663285 #7A8532 #32853C
monochromatic
#22112C #442159 #663285 #8843B1 #A46AC7

Accessibility & contrast

On white

8.90
#663285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#663285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663285
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663285#FFFFFF#000000##FFFFFF
##6632851.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114788
Deuteranopia (green-blind)
#2A4B83
Tritanopia (blue-blind)
#624256
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #663285;
/* rgb */ color: rgb(102, 50, 133);
/* oklch */ color: oklch(42.5% 0.139 310.7);
Tailwind
colors: {
  custom: {
    50: '#946da9',
    500: '#663285',
    950: '#000000',
  },
}
SCSS
$custom: #663285;
$custom-light: #946da9;
$custom-dark: #000000;
JSON
{
  "hex": "#663285",
  "rgb": {
    "r": 102,
    "g": 50,
    "b": 133
  },
  "hsl": {
    "h": 277.59,
    "s": 45.355,
    "l": 35.882
  },
  "oklch": {
    "l": 0.42467,
    "c": 0.13871,
    "h": 310.7
  },
  "luminance": 0.06799
}

Semantic roles & 50–950 ramp

primary
#663285
secondary
#80AF64
accent
#D55383
background
#F9F6FA
surface
#F2ECF4
border
#CCC7CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #663285

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

Preview Lab → · Contrast checker → · Palette generator →

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