#631F86#631F86

#631F86 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.8% C 0.165 H 311.2°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#631F86
RGBrgb(99, 31, 134)
HSLhsl(280, 62%, 32%)
HSVhsv(280, 77%, 53%)
CMYKcmyk(26.1%, 76.9%, 0%, 47.5%)
CIE-LABlab(27.72, 47.10, -43.83)
CIE-LCHlch(27.72, 64.34, 317.06°)
OKLaboklab(39.8% 0.1085 -0.1241)
OKLCHoklch(39.8% 0.165 311.2)
XYZxyz(9.9378, 5.3541, 23.0596)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631F86 #42861F
analogous
#301F86 #631F86 #861F75
triadic
#631F86 #86631F #1F8663
tetradic
#631F86 #86301F #42861F #1F7586
square
#631F86 #86301F #42861F #1F7586
split-complementary
#631F86 #75861F #1F8630
monochromatic
#1A0823 #3E1454 #631F86 #882AB8 #A64AD5

Accessibility & contrast

On white

10.14
#631F86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #631F86
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631F86#FFFFFF#000000##FFFFFF
##631F861.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E89
Deuteranopia (green-blind)
#0B4384
Tritanopia (blue-blind)
#5E3751
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #631f86;
/* rgb */ color: rgb(99, 31, 134);
/* oklch */ color: oklch(39.8% 0.165 311.2);
Tailwind
colors: {
  custom: {
    50: '#9362aa',
    500: '#631f86',
    950: '#000000',
  },
}
SCSS
$custom: #631f86;
$custom-light: #9362aa;
$custom-dark: #000000;
JSON
{
  "hex": "#631f86",
  "rgb": {
    "r": 99,
    "g": 31,
    "b": 134
  },
  "hsl": {
    "h": 279.612,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.39797,
    "c": 0.16483,
    "h": 311.2
  },
  "luminance": 0.05354
}

Semantic roles & 50–950 ramp

primary
#631F86
secondary
#6FB849
accent
#E5427A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #631F86

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

Preview Lab → · Contrast checker → · Palette generator →

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