#632787#632787

#632787 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.8% C 0.156 H 309.8°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#632787
RGBrgb(99, 39, 135)
HSLhsl(278, 55%, 34%)
HSVhsv(278, 71%, 53%)
CMYKcmyk(26.7%, 71.1%, 0%, 47.1%)
CIE-LABlab(29.04, 43.81, -42.33)
CIE-LCHlch(29.04, 60.92, 315.99°)
OKLaboklab(40.76% 0.0999 -0.1197)
OKLCHoklch(40.76% 0.156 309.8)
XYZxyz(10.2434, 5.8532, 23.5071)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#632787 #4B8727
analogous
#332787 #632787 #87277B
triadic
#632787 #876327 #278763
tetradic
#632787 #873327 #4B8727 #277B87
square
#632787 #873327 #4B8727 #277B87
split-complementary
#632787 #7B8727 #278733
monochromatic
#1D0C28 #401958 #632787 #8635B6 #A359CF

Accessibility & contrast

On white

9.67
#632787 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#632787 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #632787
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##632787#FFFFFF#000000##FFFFFF
##6327871.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428A
Deuteranopia (green-blind)
#164585
Tritanopia (blue-blind)
#5E3C54
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #632787;
/* rgb */ color: rgb(99, 39, 135);
/* oklch */ color: oklch(40.8% 0.156 309.8);
Tailwind
colors: {
  custom: {
    50: '#9366ab',
    500: '#632787',
    950: '#000000',
  },
}
SCSS
$custom: #632787;
$custom-light: #9366ab;
$custom-dark: #000000;
JSON
{
  "hex": "#632787",
  "rgb": {
    "r": 99,
    "g": 39,
    "b": 135
  },
  "hsl": {
    "h": 277.5,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.40757,
    "c": 0.15591,
    "h": 309.8
  },
  "luminance": 0.05853
}

Semantic roles & 50–950 ramp

primary
#632787
secondary
#79B456
accent
#DF4981
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #632787

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

Preview Lab → · Contrast checker → · Palette generator →

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