#631D83#631D83

#631D83 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.4% C 0.164 H 312.5°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#631D83
RGBrgb(99, 29, 131)
HSLhsl(281, 64%, 31%)
HSVhsv(281, 78%, 51%)
CMYKcmyk(24.4%, 77.9%, 0%, 48.6%)
CIE-LABlab(27.21, 47.23, -42.77)
CIE-LCHlch(27.21, 63.72, 317.84°)
OKLaboklab(39.37% 0.1109 -0.121)
OKLCHoklch(39.37% 0.164 312.5)
XYZxyz(9.6809, 5.1704, 21.9563)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631D83 #3D831D
analogous
#301D83 #631D83 #831D70
triadic
#631D83 #83631D #1D8363
tetradic
#631D83 #83301D #3D831D #1D7083
square
#631D83 #83301D #3D831D #1D7083
split-complementary
#631D83 #70831D #1D8330
monochromatic
#17071F #3D1251 #631D83 #8928B5 #A845D6

Accessibility & contrast

On white

10.32
#631D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #631D83
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631D83#FFFFFF#000000##FFFFFF
##631D831.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D86
Deuteranopia (green-blind)
#0F4281
Tritanopia (blue-blind)
#5F354F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #631d83;
/* rgb */ color: rgb(99, 29, 131);
/* oklch */ color: oklch(39.4% 0.164 312.5);
Tailwind
colors: {
  custom: {
    50: '#9361a8',
    500: '#631d83',
    950: '#000000',
  },
}
SCSS
$custom: #631d83;
$custom-light: #9361a8;
$custom-dark: #000000;
JSON
{
  "hex": "#631d83",
  "rgb": {
    "r": 99,
    "g": 29,
    "b": 131
  },
  "hsl": {
    "h": 281.176,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.39368,
    "c": 0.16415,
    "h": 312.5
  },
  "luminance": 0.0517
}

Semantic roles & 50–950 ramp

primary
#631D83
secondary
#69B646
accent
#E74175
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #631D83

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

Preview Lab → · Contrast checker → · Palette generator →

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