#631F83#631F83

#631F83 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.6% C 0.162 H 312.3°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#631F83
RGBrgb(99, 31, 131)
HSLhsl(281, 62%, 32%)
HSVhsv(281, 76%, 51%)
CMYKcmyk(24.4%, 76.3%, 0%, 48.6%)
CIE-LABlab(27.49, 46.43, -42.32)
CIE-LCHlch(27.49, 62.83, 317.65°)
OKLaboklab(39.57% 0.109 -0.1197)
OKLCHoklch(39.57% 0.162 312.3)
XYZxyz(9.7316, 5.2716, 21.9732)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631F83 #3F831F
analogous
#311F83 #631F83 #831F71
triadic
#631F83 #83631F #1F8363
tetradic
#631F83 #83311F #3F831F #1F7183
square
#631F83 #83311F #3F831F #1F7183
split-complementary
#631F83 #71831F #1F8331
monochromatic
#180820 #3E1352 #631F83 #882BB4 #A749D4

Accessibility & contrast

On white

10.22
#631F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#631F83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631F83
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631F83#FFFFFF#000000##FFFFFF
##631F831.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E86
Deuteranopia (green-blind)
#124281
Tritanopia (blue-blind)
#5F364F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #631f83;
/* rgb */ color: rgb(99, 31, 131);
/* oklch */ color: oklch(39.6% 0.162 312.3);
Tailwind
colors: {
  custom: {
    50: '#9362a8',
    500: '#631f83',
    950: '#000000',
  },
}
SCSS
$custom: #631f83;
$custom-light: #9362a8;
$custom-dark: #000000;
JSON
{
  "hex": "#631f83",
  "rgb": {
    "r": 99,
    "g": 31,
    "b": 131
  },
  "hsl": {
    "h": 280.8,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.39566,
    "c": 0.16186,
    "h": 312.3
  },
  "luminance": 0.05271
}

Semantic roles & 50–950 ramp

primary
#631F83
secondary
#6BB648
accent
#E54377
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D0510
muted
#7E7A7F

Preview Lab

Preview with #631F83

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

Preview Lab → · Contrast checker → · Palette generator →

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