#631E96#631E96

#631E96 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.0% C 0.182 H 305.6°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#631E96
RGBrgb(99, 30, 150)
HSLhsl(275, 67%, 35%)
HSVhsv(275, 80%, 59%)
CMYKcmyk(34%, 80%, 0%, 41.2%)
CIE-LABlab(28.86, 51.14, -51.89)
CIE-LCHlch(28.86, 72.86, 314.58°)
OKLaboklab(41% 0.1058 -0.1478)
OKLCHoklch(41% 0.182 305.6)
XYZxyz(11.1137, 5.7833, 29.3790)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631E96 #51961E
analogous
#271E96 #631E96 #961E8D
triadic
#631E96 #96631E #1E9663
tetradic
#631E96 #96271E #51961E #1E8D96
square
#631E96 #96271E #51961E #1E8D96
split-complementary
#631E96 #8D961E #1E9627
monochromatic
#200A30 #411463 #631E96 #8528C9 #A252DC

Accessibility & contrast

On white

9.74
#631E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#631E96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631E96
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631E96#FFFFFF#000000##FFFFFF
##631E961.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004299
Deuteranopia (green-blind)
#004494
Tritanopia (blue-blind)
#5A3D5A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #631e96;
/* rgb */ color: rgb(99, 30, 150);
/* oklch */ color: oklch(41.0% 0.182 305.6);
Tailwind
colors: {
  custom: {
    50: '#9563b6',
    500: '#631e96',
    950: '#000000',
  },
}
SCSS
$custom: #631e96;
$custom-light: #9563b6;
$custom-dark: #000000;
JSON
{
  "hex": "#631e96",
  "rgb": {
    "r": 99,
    "g": 30,
    "b": 150
  },
  "hsl": {
    "h": 274.5,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.40996,
    "c": 0.18176,
    "h": 305.6
  },
  "luminance": 0.05783
}

Semantic roles & 50–950 ramp

primary
#631E96
secondary
#80BF50
accent
#EA3E87
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #631E96

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

Preview Lab → · Contrast checker → · Palette generator →

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