#631E9B#631E9B

#631E9B is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.4% C 0.187 H 304.0°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#631E9B
RGBrgb(99, 30, 155)
HSLhsl(273, 68%, 36%)
HSVhsv(273, 81%, 61%)
CMYKcmyk(36.1%, 80.6%, 0%, 39.2%)
CIE-LABlab(29.28, 52.30, -54.27)
CIE-LCHlch(29.28, 75.37, 313.94°)
OKLaboklab(41.42% 0.1044 -0.1548)
OKLCHoklch(41.42% 0.187 304)
XYZxyz(11.5249, 5.9478, 31.5449)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631E9B #569B1E
analogous
#251E9B #631E9B #9B1E95
triadic
#631E9B #9B631E #1E9B63
tetradic
#631E9B #9B251E #569B1E #1E959B
square
#631E9B #9B251E #569B1E #1E959B
split-complementary
#631E9B #959B1E #1E9B25
monochromatic
#220A34 #421468 #631E9B #8428CE #A155DE

Accessibility & contrast

On white

9.59
#631E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#631E9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631E9B
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631E9B#FFFFFF#000000##FFFFFF
##631E9B1.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449E
Deuteranopia (green-blind)
#004599
Tritanopia (blue-blind)
#58405D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #631e9b;
/* rgb */ color: rgb(99, 30, 155);
/* oklch */ color: oklch(41.4% 0.187 304.0);
Tailwind
colors: {
  custom: {
    50: '#9563b9',
    500: '#631e9b',
    950: '#000000',
  },
}
SCSS
$custom: #631e9b;
$custom-light: #9563b9;
$custom-dark: #000000;
JSON
{
  "hex": "#631e9b",
  "rgb": {
    "r": 99,
    "g": 30,
    "b": 155
  },
  "hsl": {
    "h": 273.12,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.41421,
    "c": 0.18671,
    "h": 304
  },
  "luminance": 0.05948
}

Semantic roles & 50–950 ramp

primary
#631E9B
secondary
#85C253
accent
#EA3D8B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #631E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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