#663194#663194

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

Color values

HEX#663194
RGBrgb(102, 49, 148)
HSLhsl(272, 50%, 39%)
HSVhsv(272, 67%, 58%)
CMYKcmyk(31.1%, 66.9%, 0%, 42%)
CIE-LABlab(32.17, 42.67, -45.28)
CIE-LCHlch(32.17, 62.22, 313.30°)
OKLaboklab(43.39% 0.091 -0.1284)
OKLCHoklch(43.39% 0.157 305.3)
XYZxyz(11.9219, 7.1596, 28.7651)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663194 #5F9431
analogous
#343194 #663194 #943190
triadic
#663194 #946631 #319466
tetradic
#663194 #943431 #5F9431 #319094
square
#663194 #943431 #5F9431 #319094
split-complementary
#663194 #909431 #319434
monochromatic
#271338 #462266 #663194 #8642C0 #A370D0

Accessibility & contrast

On white

8.63
#663194 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#663194 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663194
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663194#FFFFFF#000000##FFFFFF
##6631941.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A97
Deuteranopia (green-blind)
#154C92
Tritanopia (blue-blind)
#5E465E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #663194;
/* rgb */ color: rgb(102, 49, 148);
/* oklch */ color: oklch(43.4% 0.157 305.3);
Tailwind
colors: {
  custom: {
    50: '#956db4',
    500: '#663194',
    950: '#000000',
  },
}
SCSS
$custom: #663194;
$custom-light: #956db4;
$custom-dark: #000000;
JSON
{
  "hex": "#663194",
  "rgb": {
    "r": 102,
    "g": 49,
    "b": 148
  },
  "hsl": {
    "h": 272.121,
    "s": 50.254,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43385,
    "c": 0.15736,
    "h": 305.3
  },
  "luminance": 0.0716
}

Semantic roles & 50–950 ramp

primary
#663194
secondary
#8EB769
accent
#DA4E8F
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #663194

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

Preview Lab → · Contrast checker → · Palette generator →

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