#663295#663295

#663295 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.6% C 0.157 H 304.8°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#663295
RGBrgb(102, 50, 149)
HSLhsl(272, 50%, 39%)
HSVhsv(272, 66%, 58%)
CMYKcmyk(31.5%, 66.4%, 0%, 41.6%)
CIE-LABlab(32.43, 42.40, -45.48)
CIE-LCHlch(32.43, 62.18, 312.99°)
OKLaboklab(43.59% 0.0897 -0.1289)
OKLCHoklch(43.59% 0.157 304.8)
XYZxyz(12.0437, 7.2760, 29.1979)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663295 #619532
analogous
#353295 #663295 #953293
triadic
#663295 #956632 #329566
tetradic
#663295 #953532 #619532 #329395
square
#663295 #953532 #619532 #329395
split-complementary
#663295 #939532 #329535
monochromatic
#271339 #472367 #663295 #8544C0 #A372D0

Accessibility & contrast

On white

8.55
#663295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#663295 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663295
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663295#FFFFFF#000000##FFFFFF
##6632951.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B98
Deuteranopia (green-blind)
#154C93
Tritanopia (blue-blind)
#5D475F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #663295;
/* rgb */ color: rgb(102, 50, 149);
/* oklch */ color: oklch(43.6% 0.157 304.8);
Tailwind
colors: {
  custom: {
    50: '#956db5',
    500: '#663295',
    950: '#000000',
  },
}
SCSS
$custom: #663295;
$custom-light: #956db5;
$custom-dark: #000000;
JSON
{
  "hex": "#663295",
  "rgb": {
    "r": 102,
    "g": 50,
    "b": 149
  },
  "hsl": {
    "h": 271.515,
    "s": 49.749,
    "l": 39.02
  },
  "oklch": {
    "l": 0.43594,
    "c": 0.1571,
    "h": 304.8
  },
  "luminance": 0.07276
}

Semantic roles & 50–950 ramp

primary
#663295
secondary
#8FB86B
accent
#D94F90
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #663295

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

Preview Lab → · Contrast checker → · Palette generator →

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