#631D87#631D87

#631D87 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.7% C 0.168 H 311.0°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#631D87
RGBrgb(99, 29, 135)
HSLhsl(280, 65%, 32%)
HSVhsv(280, 79%, 53%)
CMYKcmyk(26.7%, 78.5%, 0%, 47.1%)
CIE-LABlab(27.52, 48.12, -44.78)
CIE-LCHlch(27.52, 65.73, 317.06°)
OKLaboklab(39.68% 0.1102 -0.1269)
OKLCHoklch(39.68% 0.168 311)
XYZxyz(9.9573, 5.2809, 23.4118)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631D87 #41871D
analogous
#2E1D87 #631D87 #871D76
triadic
#631D87 #87631D #1D8763
tetradic
#631D87 #872E1D #41871D #1D7687
square
#631D87 #872E1D #41871D #1D7687
split-complementary
#631D87 #76871D #1D872E
monochromatic
#190722 #3E1255 #631D87 #8828B9 #A647D7

Accessibility & contrast

On white

10.21
#631D87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#631D87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631D87
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631D87#FFFFFF#000000##FFFFFF
##631D871.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #631d87;
/* rgb */ color: rgb(99, 29, 135);
/* oklch */ color: oklch(39.7% 0.168 311.0);
Tailwind
colors: {
  custom: {
    50: '#9461ab',
    500: '#631d87',
    950: '#000000',
  },
}
SCSS
$custom: #631d87;
$custom-light: #9461ab;
$custom-dark: #000000;
JSON
{
  "hex": "#631d87",
  "rgb": {
    "r": 99,
    "g": 29,
    "b": 135
  },
  "hsl": {
    "h": 279.623,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.3968,
    "c": 0.16805,
    "h": 311
  },
  "luminance": 0.05281
}

Semantic roles & 50–950 ramp

primary
#631D87
secondary
#6DB946
accent
#E84079
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #631D87

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

Preview Lab → · Contrast checker → · Palette generator →

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