#631786#631786

#631786 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 39.1% C 0.173 H 311.9°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#631786
RGBrgb(99, 23, 134)
HSLhsl(281, 71%, 31%)
HSVhsv(281, 83%, 53%)
CMYKcmyk(26.1%, 82.8%, 0%, 47.5%)
CIE-LABlab(26.70, 50.05, -45.49)
CIE-LCHlch(26.70, 67.64, 317.73°)
OKLaboklab(39.08% 0.1156 -0.1289)
OKLCHoklch(39.08% 0.173 311.9)
XYZxyz(9.7543, 4.9869, 22.9984)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631786 #3A8617
analogous
#2B1786 #631786 #861771
triadic
#631786 #866317 #178663
tetradic
#631786 #862B17 #3A8617 #177186
square
#631786 #862B17 #3A8617 #177186
split-complementary
#631786 #718617 #17862B
monochromatic
#16051E #3C0E52 #631786 #8A20BA #AA3ADD

Accessibility & contrast

On white

10.51
#631786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#631786 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631786
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631786#FFFFFF#000000##FFFFFF
##6317861.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C89
Deuteranopia (green-blind)
#004084
Tritanopia (blue-blind)
#5F334F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #631786;
/* rgb */ color: rgb(99, 23, 134);
/* oklch */ color: oklch(39.1% 0.173 311.9);
Tailwind
colors: {
  custom: {
    50: '#945faa',
    500: '#631786',
    950: '#000000',
  },
}
SCSS
$custom: #631786;
$custom-light: #945faa;
$custom-dark: #000000;
JSON
{
  "hex": "#631786",
  "rgb": {
    "r": 99,
    "g": 23,
    "b": 134
  },
  "hsl": {
    "h": 281.081,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39078,
    "c": 0.17314,
    "h": 311.9
  },
  "luminance": 0.04987
}

Semantic roles & 50–950 ramp

primary
#631786
secondary
#66BA3F
accent
#ED3A73
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #631786

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

Preview Lab → · Contrast checker → · Palette generator →

#631786 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva