#631F85#631F85

#631F85 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.7% C 0.164 H 311.5°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#631F85
RGBrgb(99, 31, 133)
HSLhsl(280, 62%, 32%)
HSVhsv(280, 77%, 52%)
CMYKcmyk(25.6%, 76.7%, 0%, 47.8%)
CIE-LABlab(27.64, 46.88, -43.33)
CIE-LCHlch(27.64, 63.84, 317.25°)
OKLaboklab(39.72% 0.1086 -0.1226)
OKLCHoklch(39.72% 0.164 311.5)
XYZxyz(9.8684, 5.3263, 22.6940)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631F85 #41851F
analogous
#301F85 #631F85 #851F74
triadic
#631F85 #85631F #1F8563
tetradic
#631F85 #85301F #41851F #1F7485
square
#631F85 #85301F #41851F #1F7485
split-complementary
#631F85 #74851F #1F8530
monochromatic
#190822 #3E1353 #631F85 #882BB7 #A64AD5

Accessibility & contrast

On white

10.17
#631F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#631F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631F85
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631F85#FFFFFF#000000##FFFFFF
##631F851.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E88
Deuteranopia (green-blind)
#0D4283
Tritanopia (blue-blind)
#5F3751
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #631f85;
/* rgb */ color: rgb(99, 31, 133);
/* oklch */ color: oklch(39.7% 0.164 311.5);
Tailwind
colors: {
  custom: {
    50: '#9362a9',
    500: '#631f85',
    950: '#000000',
  },
}
SCSS
$custom: #631f85;
$custom-light: #9362a9;
$custom-dark: #000000;
JSON
{
  "hex": "#631f85",
  "rgb": {
    "r": 99,
    "g": 31,
    "b": 133
  },
  "hsl": {
    "h": 280,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.39719,
    "c": 0.16383,
    "h": 311.5
  },
  "luminance": 0.05326
}

Semantic roles & 50–950 ramp

primary
#631F85
secondary
#6DB749
accent
#E54379
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #631F85

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

Preview Lab → · Contrast checker → · Palette generator →

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