#631B82#631B82

#631B82 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 39.1% C 0.165 H 313.1°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#631B82
RGBrgb(99, 27, 130)
HSLhsl(282, 66%, 31%)
HSVhsv(282, 79%, 51%)
CMYKcmyk(23.8%, 79.2%, 0%, 49%)
CIE-LABlab(26.87, 47.78, -42.70)
CIE-LCHlch(26.87, 64.08, 318.22°)
OKLaboklab(39.1% 0.113 -0.1207)
OKLCHoklch(39.1% 0.165 313.1)
XYZxyz(9.5661, 5.0485, 21.5853)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631B82 #3A821B
analogous
#2F1B82 #631B82 #821B6D
triadic
#631B82 #82631B #1B8263
tetradic
#631B82 #822F1B #3A821B #1B6D82
square
#631B82 #822F1B #3A821B #1B6D82
split-complementary
#631B82 #6D821B #1B822F
monochromatic
#16061D #3C104F #631B82 #8A26B5 #AA40D7

Accessibility & contrast

On white

10.45
#631B82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #631B82
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631B82#FFFFFF#000000##FFFFFF
##631B821.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #631b82;
/* rgb */ color: rgb(99, 27, 130);
/* oklch */ color: oklch(39.1% 0.165 313.1);
Tailwind
colors: {
  custom: {
    50: '#9360a7',
    500: '#631b82',
    950: '#000000',
  },
}
SCSS
$custom: #631b82;
$custom-light: #9360a7;
$custom-dark: #000000;
JSON
{
  "hex": "#631b82",
  "rgb": {
    "r": 99,
    "g": 27,
    "b": 130
  },
  "hsl": {
    "h": 281.942,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39103,
    "c": 0.16538,
    "h": 313.1
  },
  "luminance": 0.05048
}

Semantic roles & 50–950 ramp

primary
#631B82
secondary
#66B643
accent
#E93F72
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #631B82

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

Preview Lab → · Contrast checker → · Palette generator →

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