#663185#663185

#663185 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.3% C 0.140 H 310.9°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#663185
RGBrgb(102, 49, 133)
HSLhsl(278, 46%, 36%)
HSVhsv(278, 63%, 52%)
CMYKcmyk(23.3%, 63.2%, 0%, 47.8%)
CIE-LABlab(31.15, 39.03, -37.67)
CIE-LCHlch(31.15, 54.24, 316.01°)
OKLaboklab(42.32% 0.0918 -0.106)
OKLCHoklch(42.32% 0.14 310.9)
XYZxyz(10.8107, 6.7151, 22.9124)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663185 #508531
analogous
#3C3185 #663185 #85317A
triadic
#663185 #856631 #318566
tetradic
#663185 #853C31 #508531 #317A85
square
#663185 #853C31 #508531 #317A85
split-complementary
#663185 #7A8531 #31853C
monochromatic
#21102C #442158 #663185 #8841B2 #A569C8

Accessibility & contrast

On white

8.96
#663185 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#663185 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663185
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663185#FFFFFF#000000##FFFFFF
##6631851.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4788
Deuteranopia (green-blind)
#294A83
Tritanopia (blue-blind)
#624156
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #663185;
/* rgb */ color: rgb(102, 49, 133);
/* oklch */ color: oklch(42.3% 0.140 310.9);
Tailwind
colors: {
  custom: {
    50: '#946ca9',
    500: '#663185',
    950: '#000000',
  },
}
SCSS
$custom: #663185;
$custom-light: #946ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#663185",
  "rgb": {
    "r": 102,
    "g": 49,
    "b": 133
  },
  "hsl": {
    "h": 277.857,
    "s": 46.154,
    "l": 35.686
  },
  "oklch": {
    "l": 0.42323,
    "c": 0.14027,
    "h": 310.9
  },
  "luminance": 0.06715
}

Semantic roles & 50–950 ramp

primary
#663185
secondary
#7FAF63
accent
#D65283
background
#F9F6FA
surface
#F2ECF4
border
#CCC7CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #663185

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

Preview Lab → · Contrast checker → · Palette generator →

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