#631E9D#631E9D

#631E9D is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.6% C 0.189 H 303.4°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#631E9D
RGBrgb(99, 30, 157)
HSLhsl(273, 68%, 37%)
HSVhsv(273, 81%, 62%)
CMYKcmyk(36.9%, 80.9%, 0%, 38.4%)
CIE-LABlab(29.45, 52.77, -55.21)
CIE-LCHlch(29.45, 76.37, 313.71°)
OKLaboklab(41.59% 0.1039 -0.1575)
OKLCHoklch(41.59% 0.189 303.4)
XYZxyz(11.6942, 6.0155, 32.4368)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631E9D #589D1E
analogous
#231E9D #631E9D #9D1E98
triadic
#631E9D #9D631E #1E9D63
tetradic
#631E9D #9D231E #589D1E #1E989D
square
#631E9D #9D231E #589D1E #1E989D
split-complementary
#631E9D #989D1E #1E9D23
monochromatic
#220A36 #43146A #631E9D #8328D0 #A157DF

Accessibility & contrast

On white

9.53
#631E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#631E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631E9D
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631E9D#FFFFFF#000000##FFFFFF
##631E9D1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A0
Deuteranopia (green-blind)
#00459B
Tritanopia (blue-blind)
#57415E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #631e9d;
/* rgb */ color: rgb(99, 30, 157);
/* oklch */ color: oklch(41.6% 0.189 303.4);
Tailwind
colors: {
  custom: {
    50: '#9563bb',
    500: '#631e9d',
    950: '#000000',
  },
}
SCSS
$custom: #631e9d;
$custom-light: #9563bb;
$custom-dark: #000000;
JSON
{
  "hex": "#631e9d",
  "rgb": {
    "r": 99,
    "g": 30,
    "b": 157
  },
  "hsl": {
    "h": 272.598,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.41593,
    "c": 0.18869,
    "h": 303.4
  },
  "luminance": 0.06016
}

Semantic roles & 50–950 ramp

primary
#631E9D
secondary
#87C254
accent
#EB3D8C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #631E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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