#631987#631987

#631987 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.3% C 0.172 H 311.3°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#631987
RGBrgb(99, 25, 135)
HSLhsl(280, 69%, 31%)
HSVhsv(280, 81%, 53%)
CMYKcmyk(26.7%, 81.5%, 0%, 47.1%)
CIE-LABlab(27.01, 49.59, -45.61)
CIE-LCHlch(27.01, 67.38, 317.39°)
OKLaboklab(39.32% 0.1137 -0.1293)
OKLCHoklch(39.32% 0.172 311.3)
XYZxyz(9.8656, 5.0974, 23.3812)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631987 #3D8719
analogous
#2C1987 #631987 #871974
triadic
#631987 #876319 #198763
tetradic
#631987 #872C19 #3D8719 #197487
square
#631987 #872C19 #3D8719 #197487
split-complementary
#631987 #748719 #19872C
monochromatic
#170620 #3D0F53 #631987 #8923BB #A83FDB

Accessibility & contrast

On white

10.40
#631987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#631987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631987
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631987#FFFFFF#000000##FFFFFF
##6319871.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8A
Deuteranopia (green-blind)
#004185
Tritanopia (blue-blind)
#5E3550
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #631987;
/* rgb */ color: rgb(99, 25, 135);
/* oklch */ color: oklch(39.3% 0.172 311.3);
Tailwind
colors: {
  custom: {
    50: '#9460ab',
    500: '#631987',
    950: '#000000',
  },
}
SCSS
$custom: #631987;
$custom-light: #9460ab;
$custom-dark: #000000;
JSON
{
  "hex": "#631987",
  "rgb": {
    "r": 99,
    "g": 25,
    "b": 135
  },
  "hsl": {
    "h": 280.364,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.39322,
    "c": 0.17217,
    "h": 311.3
  },
  "luminance": 0.05097
}

Semantic roles & 50–950 ramp

primary
#631987
secondary
#69BA41
accent
#EC3C76
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #631987

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

Preview Lab → · Contrast checker → · Palette generator →

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