#631A84#631A84

#631A84 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.2% C 0.168 H 312.4°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#631A84
RGBrgb(99, 26, 132)
HSLhsl(281, 67%, 31%)
HSVhsv(281, 80%, 52%)
CMYKcmyk(25%, 80.3%, 0%, 48.2%)
CIE-LABlab(26.90, 48.58, -43.91)
CIE-LCHlch(26.90, 65.49, 317.89°)
OKLaboklab(39.17% 0.1135 -0.1243)
OKLCHoklch(39.17% 0.168 312.4)
XYZxyz(9.6791, 5.0577, 22.2917)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631A84 #3B841A
analogous
#2E1A84 #631A84 #841A70
triadic
#631A84 #84631A #1A8463
tetradic
#631A84 #842E1A #3B841A #1A7084
square
#631A84 #842E1A #3B841A #1A7084
split-complementary
#631A84 #70841A #1A842E
monochromatic
#16061E #3D1051 #631A84 #8924B7 #A93FD9

Accessibility & contrast

On white

10.44
#631A84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#631A84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631A84
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631A84#FFFFFF#000000##FFFFFF
##631A841.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C87
Deuteranopia (green-blind)
#074182
Tritanopia (blue-blind)
#5F344F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #631a84;
/* rgb */ color: rgb(99, 26, 132);
/* oklch */ color: oklch(39.2% 0.168 312.4);
Tailwind
colors: {
  custom: {
    50: '#9460a8',
    500: '#631a84',
    950: '#000000',
  },
}
SCSS
$custom: #631a84;
$custom-light: #9460a8;
$custom-dark: #000000;
JSON
{
  "hex": "#631a84",
  "rgb": {
    "r": 99,
    "g": 26,
    "b": 132
  },
  "hsl": {
    "h": 281.321,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39169,
    "c": 0.16833,
    "h": 312.4
  },
  "luminance": 0.05057
}

Semantic roles & 50–950 ramp

primary
#631A84
secondary
#67B842
accent
#EA3E73
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #631A84

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

Preview Lab → · Contrast checker → · Palette generator →

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