#631A87#631A87

#631A87 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.4% C 0.171 H 311.2°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#631A87
RGBrgb(99, 26, 135)
HSLhsl(280, 68%, 32%)
HSVhsv(280, 81%, 53%)
CMYKcmyk(26.7%, 80.7%, 0%, 47.1%)
CIE-LABlab(27.13, 49.24, -45.41)
CIE-LCHlch(27.13, 66.98, 317.31°)
OKLaboklab(39.41% 0.1129 -0.1287)
OKLCHoklch(39.41% 0.171 311.2)
XYZxyz(9.8873, 5.1410, 23.3884)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631A87 #3E871A
analogous
#2C1A87 #631A87 #871A75
triadic
#631A87 #87631A #1A8763
tetradic
#631A87 #872C1A #3E871A #1A7587
square
#631A87 #872C1A #3E871A #1A7587
split-complementary
#631A87 #75871A #1A872C
monochromatic
#180620 #3D1054 #631A87 #8924BA #A841DA

Accessibility & contrast

On white

10.35
#631A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#631A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631A87
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631A87#FFFFFF#000000##FFFFFF
##631A871.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #631a87;
/* rgb */ color: rgb(99, 26, 135);
/* oklch */ color: oklch(39.4% 0.171 311.2);
Tailwind
colors: {
  custom: {
    50: '#9460ab',
    500: '#631a87',
    950: '#000000',
  },
}
SCSS
$custom: #631a87;
$custom-light: #9460ab;
$custom-dark: #000000;
JSON
{
  "hex": "#631a87",
  "rgb": {
    "r": 99,
    "g": 26,
    "b": 135
  },
  "hsl": {
    "h": 280.183,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.39407,
    "c": 0.17118,
    "h": 311.2
  },
  "luminance": 0.05141
}

Semantic roles & 50–950 ramp

primary
#631A87
secondary
#6ABA42
accent
#EB3D76
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #631A87

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

Preview Lab → · Contrast checker → · Palette generator →

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