#631E87#631E87

#631E87 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.8% C 0.167 H 310.9°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#631E87
RGBrgb(99, 30, 135)
HSLhsl(279, 64%, 32%)
HSVhsv(279, 78%, 53%)
CMYKcmyk(26.7%, 77.8%, 0%, 47.1%)
CIE-LABlab(27.66, 47.73, -44.56)
CIE-LCHlch(27.66, 65.30, 316.96°)
OKLaboklab(39.78% 0.1092 -0.1262)
OKLCHoklch(39.78% 0.167 310.9)
XYZxyz(9.9822, 5.3307, 23.4201)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631E87 #42871E
analogous
#2F1E87 #631E87 #871E76
triadic
#631E87 #87631E #1E8763
tetradic
#631E87 #872F1E #42871E #1E7687
square
#631E87 #872F1E #42871E #1E7687
split-complementary
#631E87 #76871E #1E872F
monochromatic
#1A0823 #3E1355 #631E87 #8829B9 #A649D7

Accessibility & contrast

On white

10.16
#631E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#631E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631E87
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631E87#FFFFFF#000000##FFFFFF
##631E871.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8A
Deuteranopia (green-blind)
#064285
Tritanopia (blue-blind)
#5E3751
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #631e87;
/* rgb */ color: rgb(99, 30, 135);
/* oklch */ color: oklch(39.8% 0.167 310.9);
Tailwind
colors: {
  custom: {
    50: '#9462ab',
    500: '#631e87',
    950: '#000000',
  },
}
SCSS
$custom: #631e87;
$custom-light: #9462ab;
$custom-dark: #000000;
JSON
{
  "hex": "#631e87",
  "rgb": {
    "r": 99,
    "g": 30,
    "b": 135
  },
  "hsl": {
    "h": 279.429,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.39776,
    "c": 0.16694,
    "h": 310.9
  },
  "luminance": 0.0533
}

Semantic roles & 50–950 ramp

primary
#631E87
secondary
#6FB948
accent
#E7417A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #631E87

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

Preview Lab → · Contrast checker → · Palette generator →

#631E87 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva