#631E91#631E91

#631E91 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.6% C 0.177 H 307.3°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#631E91
RGBrgb(99, 30, 145)
HSLhsl(276, 66%, 34%)
HSVhsv(276, 79%, 57%)
CMYKcmyk(31.7%, 79.3%, 0%, 43.1%)
CIE-LABlab(28.45, 49.99, -49.49)
CIE-LCHlch(28.45, 70.34, 315.29°)
OKLaboklab(40.58% 0.1071 -0.1407)
OKLCHoklch(40.58% 0.177 307.3)
XYZxyz(10.7196, 5.6257, 27.3037)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631E91 #4C911E
analogous
#2A1E91 #631E91 #911E86
triadic
#631E91 #91631E #1E9163
tetradic
#631E91 #912A1E #4C911E #1E8691
square
#631E91 #912A1E #4C911E #1E8691
split-complementary
#631E91 #86911E #1E912A
monochromatic
#1E092C #40145E #631E91 #8628C4 #A34FDB

Accessibility & contrast

On white

9.88
#631E91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#631E91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631E91
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631E91#FFFFFF#000000##FFFFFF
##631E911.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004194
Deuteranopia (green-blind)
#00448F
Tritanopia (blue-blind)
#5B3B57
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #631e91;
/* rgb */ color: rgb(99, 30, 145);
/* oklch */ color: oklch(40.6% 0.177 307.3);
Tailwind
colors: {
  custom: {
    50: '#9462b2',
    500: '#631e91',
    950: '#000000',
  },
}
SCSS
$custom: #631e91;
$custom-light: #9462b2;
$custom-dark: #000000;
JSON
{
  "hex": "#631e91",
  "rgb": {
    "r": 99,
    "g": 30,
    "b": 145
  },
  "hsl": {
    "h": 276,
    "s": 65.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.4058,
    "c": 0.17682,
    "h": 307.3
  },
  "luminance": 0.05626
}

Semantic roles & 50–950 ramp

primary
#631E91
secondary
#7ABD4D
accent
#E93F83
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #631E91

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

Preview Lab → · Contrast checker → · Palette generator →

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