#631B86#631B86

#631B86 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.4% C 0.169 H 311.5°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#631B86
RGBrgb(99, 27, 134)
HSLhsl(280, 66%, 32%)
HSVhsv(280, 80%, 53%)
CMYKcmyk(26.1%, 79.9%, 0%, 47.5%)
CIE-LABlab(27.18, 48.65, -44.71)
CIE-LCHlch(27.18, 66.08, 317.42°)
OKLaboklab(39.42% 0.1122 -0.1267)
OKLCHoklch(39.42% 0.169 311.5)
XYZxyz(9.8398, 5.1580, 23.0269)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631B86 #3E861B
analogous
#2E1B86 #631B86 #861B74
triadic
#631B86 #86631B #1B8663
tetradic
#631B86 #862E1B #3E861B #1B7486
square
#631B86 #862E1B #3E861B #1B7486
split-complementary
#631B86 #74861B #1B862E
monochromatic
#180620 #3D1153 #631B86 #8925B9 #A842D9

Accessibility & contrast

On white

10.34
#631B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#631B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631B86
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631B86#FFFFFF#000000##FFFFFF
##631B861.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D89
Deuteranopia (green-blind)
#034184
Tritanopia (blue-blind)
#5F3550
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #631b86;
/* rgb */ color: rgb(99, 27, 134);
/* oklch */ color: oklch(39.4% 0.169 311.5);
Tailwind
colors: {
  custom: {
    50: '#9460aa',
    500: '#631b86',
    950: '#000000',
  },
}
SCSS
$custom: #631b86;
$custom-light: #9460aa;
$custom-dark: #000000;
JSON
{
  "hex": "#631b86",
  "rgb": {
    "r": 99,
    "g": 27,
    "b": 134
  },
  "hsl": {
    "h": 280.374,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.39416,
    "c": 0.16921,
    "h": 311.5
  },
  "luminance": 0.05158
}

Semantic roles & 50–950 ramp

primary
#631B86
secondary
#6AB944
accent
#E93E76
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #631B86

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

Preview Lab → · Contrast checker → · Palette generator →

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