#631C86#631C86

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

Color values

HEX#631C86
RGBrgb(99, 28, 134)
HSLhsl(280, 65%, 32%)
HSVhsv(280, 79%, 53%)
CMYKcmyk(26.1%, 79.1%, 0%, 47.5%)
CIE-LABlab(27.31, 48.28, -44.50)
CIE-LCHlch(27.31, 65.66, 317.33°)
OKLaboklab(39.51% 0.1113 -0.126)
OKLCHoklch(39.51% 0.168 311.4)
XYZxyz(9.8631, 5.2046, 23.0347)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631C86 #3F861C
analogous
#2E1C86 #631C86 #861C74
triadic
#631C86 #86631C #1C8663
tetradic
#631C86 #862E1C #3F861C #1C7486
square
#631C86 #862E1C #3F861C #1C7486
split-complementary
#631C86 #74861C #1C862E
monochromatic
#180721 #3E1153 #631C86 #8827B9 #A744D8

Accessibility & contrast

On white

10.29
#631C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#631C86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631C86
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631C86#FFFFFF#000000##FFFFFF
##631C861.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #631c86;
/* rgb */ color: rgb(99, 28, 134);
/* oklch */ color: oklch(39.5% 0.168 311.4);
Tailwind
colors: {
  custom: {
    50: '#9461aa',
    500: '#631c86',
    950: '#000000',
  },
}
SCSS
$custom: #631c86;
$custom-light: #9461aa;
$custom-dark: #000000;
JSON
{
  "hex": "#631c86",
  "rgb": {
    "r": 99,
    "g": 28,
    "b": 134
  },
  "hsl": {
    "h": 280.189,
    "s": 65.432,
    "l": 31.765
  },
  "oklch": {
    "l": 0.39507,
    "c": 0.16815,
    "h": 311.4
  },
  "luminance": 0.05204
}

Semantic roles & 50–950 ramp

primary
#631C86
secondary
#6BB945
accent
#E83F77
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #631C86

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

Preview Lab → · Contrast checker → · Palette generator →

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