#663292#663292

#663292 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.4% C 0.154 H 305.8°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#663292
RGBrgb(102, 50, 146)
HSLhsl(273, 49%, 38%)
HSVhsv(273, 66%, 57%)
CMYKcmyk(30.1%, 65.8%, 0%, 42.7%)
CIE-LABlab(32.22, 41.65, -43.98)
CIE-LCHlch(32.22, 60.57, 313.44°)
OKLaboklab(43.38% 0.09 -0.1245)
OKLCHoklch(43.38% 0.154 305.8)
XYZxyz(11.8073, 7.1814, 27.9527)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663292 #5E9232
analogous
#363292 #663292 #92328E
triadic
#663292 #926632 #329266
tetradic
#663292 #923632 #5E9232 #328E92
square
#663292 #923632 #5E9232 #328E92
split-complementary
#663292 #8E9232 #329236
monochromatic
#261337 #462264 #663292 #8643BF #A370CE

Accessibility & contrast

On white

8.62
#663292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#663292 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663292
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663292#FFFFFF#000000##FFFFFF
##6632921.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A95
Deuteranopia (green-blind)
#1B4C90
Tritanopia (blue-blind)
#5E465D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #663292;
/* rgb */ color: rgb(102, 50, 146);
/* oklch */ color: oklch(43.4% 0.154 305.8);
Tailwind
colors: {
  custom: {
    50: '#956db3',
    500: '#663292',
    950: '#000000',
  },
}
SCSS
$custom: #663292;
$custom-light: #956db3;
$custom-dark: #000000;
JSON
{
  "hex": "#663292",
  "rgb": {
    "r": 102,
    "g": 50,
    "b": 146
  },
  "hsl": {
    "h": 272.5,
    "s": 48.98,
    "l": 38.431
  },
  "oklch": {
    "l": 0.43375,
    "c": 0.15365,
    "h": 305.8
  },
  "luminance": 0.07181
}

Semantic roles & 50–950 ramp

primary
#663292
secondary
#8DB66A
accent
#D94F8E
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #663292

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

Preview Lab → · Contrast checker → · Palette generator →

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