#663175#663175

#663175 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.3% C 0.122 H 318.3°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#663175
RGBrgb(102, 49, 117)
HSLhsl(287, 41%, 33%)
HSVhsv(287, 58%, 46%)
CMYKcmyk(12.8%, 58.1%, 0%, 54.1%)
CIE-LABlab(30.17, 35.35, -29.19)
CIE-LCHlch(30.17, 45.84, 320.45°)
OKLaboklab(41.3% 0.0913 -0.0813)
OKLCHoklch(41.3% 0.122 318.3)
XYZxyz(9.7883, 6.3061, 17.5278)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663175 #407531
analogous
#443175 #663175 #753162
triadic
#663175 #756631 #317566
tetradic
#663175 #754431 #407531 #316275
square
#663175 #754431 #407531 #316275
split-complementary
#663175 #627531 #317544
monochromatic
#1B0D1F #401F4A #663175 #8C43A0 #AA63BE

Accessibility & contrast

On white

9.29
#663175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#663175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663175
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663175#FFFFFF#000000##FFFFFF
##6631751.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224477
Deuteranopia (green-blind)
#344973
Tritanopia (blue-blind)
#663B4E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #663175;
/* rgb */ color: rgb(102, 49, 117);
/* oklch */ color: oklch(41.3% 0.122 318.3);
Tailwind
colors: {
  custom: {
    50: '#946c9d',
    500: '#663175',
    950: '#000000',
  },
}
SCSS
$custom: #663175;
$custom-light: #946c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#663175",
  "rgb": {
    "r": 102,
    "g": 49,
    "b": 117
  },
  "hsl": {
    "h": 286.765,
    "s": 40.964,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41295,
    "c": 0.12225,
    "h": 318.3
  },
  "luminance": 0.06306
}

Semantic roles & 50–950 ramp

primary
#663175
secondary
#6DA55D
accent
#D15772
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D070E
muted
#7E7A7E

Preview Lab

Preview with #663175

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

Preview Lab → · Contrast checker → · Palette generator →

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