#663294#663294

#663294 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.5% C 0.156 H 305.2°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#663294
RGBrgb(102, 50, 148)
HSLhsl(272, 49%, 39%)
HSVhsv(272, 66%, 58%)
CMYKcmyk(31.1%, 66.2%, 0%, 42%)
CIE-LABlab(32.36, 42.15, -44.98)
CIE-LCHlch(32.36, 61.64, 313.14°)
OKLaboklab(43.52% 0.0898 -0.1275)
OKLCHoklch(43.52% 0.156 305.2)
XYZxyz(11.9642, 7.2442, 28.7792)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663294 #609432
analogous
#353294 #663294 #943291
triadic
#663294 #946632 #329466
tetradic
#663294 #943532 #609432 #329194
square
#663294 #943532 #609432 #329194
split-complementary
#663294 #919432 #329435
monochromatic
#271339 #462366 #663294 #8544C0 #A371CF

Accessibility & contrast

On white

8.58
#663294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#663294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663294
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663294#FFFFFF#000000##FFFFFF
##6632941.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B97
Deuteranopia (green-blind)
#174C92
Tritanopia (blue-blind)
#5E475E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #663294;
/* rgb */ color: rgb(102, 50, 148);
/* oklch */ color: oklch(43.5% 0.156 305.2);
Tailwind
colors: {
  custom: {
    50: '#956db4',
    500: '#663294',
    950: '#000000',
  },
}
SCSS
$custom: #663294;
$custom-light: #956db4;
$custom-dark: #000000;
JSON
{
  "hex": "#663294",
  "rgb": {
    "r": 102,
    "g": 50,
    "b": 148
  },
  "hsl": {
    "h": 271.837,
    "s": 49.495,
    "l": 38.824
  },
  "oklch": {
    "l": 0.43521,
    "c": 0.15594,
    "h": 305.2
  },
  "luminance": 0.07244
}

Semantic roles & 50–950 ramp

primary
#663294
secondary
#8FB76B
accent
#D94F90
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #663294

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

Preview Lab → · Contrast checker → · Palette generator →

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