#631E86#631E86

#631E86 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.7% C 0.166 H 311.3°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#631E86
RGBrgb(99, 30, 134)
HSLhsl(280, 63%, 32%)
HSVhsv(280, 78%, 53%)
CMYKcmyk(26.1%, 77.6%, 0%, 47.5%)
CIE-LABlab(27.58, 47.50, -44.06)
CIE-LCHlch(27.58, 64.79, 317.15°)
OKLaboklab(39.7% 0.1094 -0.1248)
OKLCHoklch(39.7% 0.166 311.3)
XYZxyz(9.9121, 5.3027, 23.0510)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631E86 #41861E
analogous
#2F1E86 #631E86 #861E75
triadic
#631E86 #86631E #1E8663
tetradic
#631E86 #862F1E #41861E #1E7586
square
#631E86 #862F1E #41861E #1E7586
split-complementary
#631E86 #75861E #1E862F
monochromatic
#190822 #3E1354 #631E86 #8829B8 #A648D6

Accessibility & contrast

On white

10.19
#631E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#631E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631E86
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631E86#FFFFFF#000000##FFFFFF
##631E861.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E89
Deuteranopia (green-blind)
#094284
Tritanopia (blue-blind)
#5E3651
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #631e86;
/* rgb */ color: rgb(99, 30, 134);
/* oklch */ color: oklch(39.7% 0.166 311.3);
Tailwind
colors: {
  custom: {
    50: '#9362aa',
    500: '#631e86',
    950: '#000000',
  },
}
SCSS
$custom: #631e86;
$custom-light: #9362aa;
$custom-dark: #000000;
JSON
{
  "hex": "#631e86",
  "rgb": {
    "r": 99,
    "g": 30,
    "b": 134
  },
  "hsl": {
    "h": 279.808,
    "s": 63.415,
    "l": 32.157
  },
  "oklch": {
    "l": 0.39698,
    "c": 0.16596,
    "h": 311.3
  },
  "luminance": 0.05302
}

Semantic roles & 50–950 ramp

primary
#631E86
secondary
#6DB847
accent
#E64179
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #631E86

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

Preview Lab → · Contrast checker → · Palette generator →

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