#631F82#631F82

#631F82 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.5% C 0.161 H 312.7°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#631F82
RGBrgb(99, 31, 130)
HSLhsl(281, 61%, 32%)
HSVhsv(281, 76%, 51%)
CMYKcmyk(23.8%, 76.2%, 0%, 49%)
CIE-LABlab(27.42, 46.21, -41.81)
CIE-LCHlch(27.42, 62.32, 317.86°)
OKLaboklab(39.49% 0.1091 -0.1182)
OKLCHoklch(39.49% 0.161 312.7)
XYZxyz(9.6641, 5.2446, 21.6180)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631F82 #3E821F
analogous
#321F82 #631F82 #821F70
triadic
#631F82 #82631F #1F8263
tetradic
#631F82 #82321F #3E821F #1F7082
square
#631F82 #82321F #3E821F #1F7082
split-complementary
#631F82 #70821F #1F8232
monochromatic
#18071F #3D1351 #631F82 #892BB3 #A848D3

Accessibility & contrast

On white

10.25
#631F82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #631F82
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631F82#FFFFFF#000000##FFFFFF
##631F821.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D85
Deuteranopia (green-blind)
#134280
Tritanopia (blue-blind)
#5F354F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #631f82;
/* rgb */ color: rgb(99, 31, 130);
/* oklch */ color: oklch(39.5% 0.161 312.7);
Tailwind
colors: {
  custom: {
    50: '#9362a7',
    500: '#631f82',
    950: '#000000',
  },
}
SCSS
$custom: #631f82;
$custom-light: #9362a7;
$custom-dark: #000000;
JSON
{
  "hex": "#631f82",
  "rgb": {
    "r": 99,
    "g": 31,
    "b": 130
  },
  "hsl": {
    "h": 281.212,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.3949,
    "c": 0.16087,
    "h": 312.7
  },
  "luminance": 0.05244
}

Semantic roles & 50–950 ramp

primary
#631F82
secondary
#6AB548
accent
#E54376
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D050F
muted
#7E7A7F

Preview Lab

Preview with #631F82

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

Preview Lab → · Contrast checker → · Palette generator →

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