#631B9D#631B9D

#631B9D is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.3% C 0.191 H 303.7°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#631B9D
RGBrgb(99, 27, 157)
HSLhsl(273, 71%, 36%)
HSVhsv(273, 83%, 62%)
CMYKcmyk(36.9%, 82.8%, 0%, 38.4%)
CIE-LABlab(29.08, 53.84, -55.81)
CIE-LCHlch(29.08, 77.55, 313.97°)
OKLaboklab(41.34% 0.1061 -0.1593)
OKLCHoklch(41.34% 0.191 303.7)
XYZxyz(11.6219, 5.8709, 32.4127)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631B9D #559D1B
analogous
#221B9D #631B9D #9D1B96
triadic
#631B9D #9D631B #1B9D63
tetradic
#631B9D #9D221B #559D1B #1B969D
square
#631B9D #9D221B #559D1B #1B969D
split-complementary
#631B9D #969D1B #1B9D22
monochromatic
#210935 #421269 #631B9D #8424D1 #A151E1

Accessibility & contrast

On white

9.66
#631B9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#631B9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631B9D
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631B9D#FFFFFF#000000##FFFFFF
##631B9D1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A0
Deuteranopia (green-blind)
#00449B
Tritanopia (blue-blind)
#573F5D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #631b9d;
/* rgb */ color: rgb(99, 27, 157);
/* oklch */ color: oklch(41.3% 0.191 303.7);
Tailwind
colors: {
  custom: {
    50: '#9662bb',
    500: '#631b9d',
    950: '#000000',
  },
}
SCSS
$custom: #631b9d;
$custom-light: #9662bb;
$custom-dark: #000000;
JSON
{
  "hex": "#631b9d",
  "rgb": {
    "r": 99,
    "g": 27,
    "b": 157
  },
  "hsl": {
    "h": 273.231,
    "s": 70.652,
    "l": 36.078
  },
  "oklch": {
    "l": 0.41338,
    "c": 0.1914,
    "h": 303.7
  },
  "luminance": 0.05871
}

Semantic roles & 50–950 ramp

primary
#631B9D
secondary
#84C450
accent
#ED3A8A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #631B9D

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

Preview Lab → · Contrast checker → · Palette generator →

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