#631A82#631A82

#631A82 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 39.0% C 0.166 H 313.2°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#631A82
RGBrgb(99, 26, 130)
HSLhsl(282, 67%, 31%)
HSVhsv(282, 80%, 51%)
CMYKcmyk(23.8%, 80%, 0%, 49%)
CIE-LABlab(26.74, 48.15, -42.91)
CIE-LCHlch(26.74, 64.49, 318.30°)
OKLaboklab(39.01% 0.1139 -0.1213)
OKLCHoklch(39.01% 0.166 313.2)
XYZxyz(9.5435, 5.0034, 21.5778)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631A82 #39821A
analogous
#2F1A82 #631A82 #821A6D
triadic
#631A82 #82631A #1A8263
tetradic
#631A82 #822F1A #39821A #1A6D82
square
#631A82 #822F1A #39821A #1A6D82
split-complementary
#631A82 #6D821A #1A822F
monochromatic
#15061C #3C104F #631A82 #8A24B5 #AA3ED8

Accessibility & contrast

On white

10.50
#631A82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#631A82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631A82
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631A82#FFFFFF#000000##FFFFFF
##631A821.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C85
Deuteranopia (green-blind)
#0C4180
Tritanopia (blue-blind)
#60334E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #631a82;
/* rgb */ color: rgb(99, 26, 130);
/* oklch */ color: oklch(39.0% 0.166 313.2);
Tailwind
colors: {
  custom: {
    50: '#9360a7',
    500: '#631a82',
    950: '#000000',
  },
}
SCSS
$custom: #631a82;
$custom-light: #9360a7;
$custom-dark: #000000;
JSON
{
  "hex": "#631a82",
  "rgb": {
    "r": 99,
    "g": 26,
    "b": 130
  },
  "hsl": {
    "h": 282.115,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39012,
    "c": 0.16643,
    "h": 313.2
  },
  "luminance": 0.05003
}

Semantic roles & 50–950 ramp

primary
#631A82
secondary
#65B642
accent
#EA3E71
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #631A82

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

Preview Lab → · Contrast checker → · Palette generator →

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