#663293#663293

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

Color values

HEX#663293
RGBrgb(102, 50, 147)
HSLhsl(272, 49%, 39%)
HSVhsv(272, 66%, 58%)
CMYKcmyk(30.6%, 66%, 0%, 42.4%)
CIE-LABlab(32.29, 41.90, -44.48)
CIE-LCHlch(32.29, 61.11, 313.29°)
OKLaboklab(43.45% 0.0899 -0.126)
OKLCHoklch(43.45% 0.155 305.5)
XYZxyz(11.8854, 7.2127, 28.3641)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663293 #5F9332
analogous
#353293 #663293 #93328F
triadic
#663293 #936632 #329366
tetradic
#663293 #933532 #5F9332 #328F93
square
#663293 #933532 #5F9332 #328F93
split-complementary
#663293 #8F9332 #329335
monochromatic
#271338 #462265 #663293 #8643BF #A371CF

Accessibility & contrast

On white

8.60
#663293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #663293
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663293#FFFFFF#000000##FFFFFF
##6632931.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A96
Deuteranopia (green-blind)
#194C91
Tritanopia (blue-blind)
#5E475E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #663293;
/* rgb */ color: rgb(102, 50, 147);
/* oklch */ color: oklch(43.4% 0.155 305.5);
Tailwind
colors: {
  custom: {
    50: '#956db3',
    500: '#663293',
    950: '#000000',
  },
}
SCSS
$custom: #663293;
$custom-light: #956db3;
$custom-dark: #000000;
JSON
{
  "hex": "#663293",
  "rgb": {
    "r": 102,
    "g": 50,
    "b": 147
  },
  "hsl": {
    "h": 272.165,
    "s": 49.239,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43448,
    "c": 0.1548,
    "h": 305.5
  },
  "luminance": 0.07213
}

Semantic roles & 50–950 ramp

primary
#663293
secondary
#8EB76A
accent
#D94F8F
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #663293

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

Preview Lab → · Contrast checker → · Palette generator →

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