#631F87#631F87

#631F87 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.9% C 0.166 H 310.8°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#631F87
RGBrgb(99, 31, 135)
HSLhsl(279, 63%, 33%)
HSVhsv(279, 77%, 53%)
CMYKcmyk(26.7%, 77%, 0%, 47.1%)
CIE-LABlab(27.80, 47.33, -44.33)
CIE-LCHlch(27.80, 64.85, 316.87°)
OKLaboklab(39.88% 0.1083 -0.1256)
OKLCHoklch(39.88% 0.166 310.8)
XYZxyz(10.0079, 5.3821, 23.4286)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631F87 #43871F
analogous
#2F1F87 #631F87 #871F77
triadic
#631F87 #87631F #1F8763
tetradic
#631F87 #872F1F #43871F #1F7787
square
#631F87 #872F1F #43871F #1F7787
split-complementary
#631F87 #77871F #1F872F
monochromatic
#1A0823 #3F1455 #631F87 #872AB9 #A64BD6

Accessibility & contrast

On white

10.11
#631F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#631F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631F87
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631F87#FFFFFF#000000##FFFFFF
##631F871.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8A
Deuteranopia (green-blind)
#084385
Tritanopia (blue-blind)
#5E3752
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #631f87;
/* rgb */ color: rgb(99, 31, 135);
/* oklch */ color: oklch(39.9% 0.166 310.8);
Tailwind
colors: {
  custom: {
    50: '#9362ab',
    500: '#631f87',
    950: '#000000',
  },
}
SCSS
$custom: #631f87;
$custom-light: #9362ab;
$custom-dark: #000000;
JSON
{
  "hex": "#631f87",
  "rgb": {
    "r": 99,
    "g": 31,
    "b": 135
  },
  "hsl": {
    "h": 279.231,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.39875,
    "c": 0.16582,
    "h": 310.8
  },
  "luminance": 0.05382
}

Semantic roles & 50–950 ramp

primary
#631F87
secondary
#70B84A
accent
#E6427B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #631F87

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

Preview Lab → · Contrast checker → · Palette generator →

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