#663195#663195

#663195 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.5% C 0.159 H 305.0°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#663195
RGBrgb(102, 49, 149)
HSLhsl(272, 51%, 39%)
HSVhsv(272, 67%, 58%)
CMYKcmyk(31.5%, 67.1%, 0%, 41.6%)
CIE-LABlab(32.24, 42.92, -45.78)
CIE-LCHlch(32.24, 62.75, 313.15°)
OKLaboklab(43.46% 0.0909 -0.1298)
OKLCHoklch(43.46% 0.159 305)
XYZxyz(12.0014, 7.1914, 29.1838)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663195 #609531
analogous
#343195 #663195 #953192
triadic
#663195 #956631 #319566
tetradic
#663195 #953431 #609531 #319295
square
#663195 #953431 #609531 #319295
split-complementary
#663195 #929531 #319534
monochromatic
#271339 #462267 #663195 #8542C1 #A370D0

Accessibility & contrast

On white

8.61
#663195 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #663195
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663195#FFFFFF#000000##FFFFFF
##6631951.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A98
Deuteranopia (green-blind)
#134C93
Tritanopia (blue-blind)
#5E475F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #663195;
/* rgb */ color: rgb(102, 49, 149);
/* oklch */ color: oklch(43.5% 0.159 305.0);
Tailwind
colors: {
  custom: {
    50: '#966db5',
    500: '#663195',
    950: '#000000',
  },
}
SCSS
$custom: #663195;
$custom-light: #966db5;
$custom-dark: #000000;
JSON
{
  "hex": "#663195",
  "rgb": {
    "r": 102,
    "g": 49,
    "b": 149
  },
  "hsl": {
    "h": 271.8,
    "s": 50.505,
    "l": 38.824
  },
  "oklch": {
    "l": 0.43459,
    "c": 0.15851,
    "h": 305
  },
  "luminance": 0.07191
}

Semantic roles & 50–950 ramp

primary
#663195
secondary
#8FB86A
accent
#DA4E90
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #663195

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

Preview Lab → · Contrast checker → · Palette generator →

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