#631E9E#631E9E

#631E9E is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.7% C 0.190 H 303.1°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#631E9E
RGBrgb(99, 30, 158)
HSLhsl(272, 68%, 37%)
HSVhsv(272, 81%, 62%)
CMYKcmyk(37.3%, 81%, 0%, 38%)
CIE-LABlab(29.54, 53.01, -55.68)
CIE-LCHlch(29.54, 76.87, 313.59°)
OKLaboklab(41.68% 0.1036 -0.1589)
OKLCHoklch(41.68% 0.19 303.1)
XYZxyz(11.7800, 6.0498, 32.8882)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631E9E #599E1E
analogous
#231E9E #631E9E #9E1E99
triadic
#631E9E #9E631E #1E9E63
tetradic
#631E9E #9E231E #599E1E #1E999E
square
#631E9E #9E231E #599E1E #1E999E
split-complementary
#631E9E #999E1E #1E9E23
monochromatic
#230A37 #43146B #631E9E #8328D1 #A157DF

Accessibility & contrast

On white

9.50
#631E9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#631E9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631E9E
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631E9E#FFFFFF#000000##FFFFFF
##631E9E1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#00459C
Tritanopia (blue-blind)
#57415F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #631e9e;
/* rgb */ color: rgb(99, 30, 158);
/* oklch */ color: oklch(41.7% 0.190 303.1);
Tailwind
colors: {
  custom: {
    50: '#9563bc',
    500: '#631e9e',
    950: '#000000',
  },
}
SCSS
$custom: #631e9e;
$custom-light: #9563bc;
$custom-dark: #000000;
JSON
{
  "hex": "#631e9e",
  "rgb": {
    "r": 99,
    "g": 30,
    "b": 158
  },
  "hsl": {
    "h": 272.344,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4168,
    "c": 0.18969,
    "h": 303.1
  },
  "luminance": 0.0605
}

Semantic roles & 50–950 ramp

primary
#631E9E
secondary
#88C355
accent
#EB3D8D
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #631E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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