#631B9E#631B9E

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

Color values

HEX#631B9E
RGBrgb(99, 27, 158)
HSLhsl(273, 71%, 36%)
HSVhsv(273, 83%, 62%)
CMYKcmyk(37.3%, 82.9%, 0%, 38%)
CIE-LABlab(29.17, 54.07, -56.28)
CIE-LCHlch(29.17, 78.04, 313.86°)
OKLaboklab(41.43% 0.1058 -0.1606)
OKLCHoklch(41.43% 0.192 303.4)
XYZxyz(11.7076, 5.9051, 32.8641)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631B9E #569E1B
analogous
#221B9E #631B9E #9E1B98
triadic
#631B9E #9E631B #1B9E63
tetradic
#631B9E #9E221B #569E1B #1B989E
square
#631B9E #9E221B #569E1B #1B989E
split-complementary
#631B9E #989E1B #1B9E22
monochromatic
#220935 #42126A #631B9E #8424D2 #A152E1

Accessibility & contrast

On white

9.63
#631B9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#631B9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631B9E
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631B9E#FFFFFF#000000##FFFFFF
##631B9E1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A1
Deuteranopia (green-blind)
#00449C
Tritanopia (blue-blind)
#57405E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #631b9e;
/* rgb */ color: rgb(99, 27, 158);
/* oklch */ color: oklch(41.4% 0.192 303.4);
Tailwind
colors: {
  custom: {
    50: '#9662bc',
    500: '#631b9e',
    950: '#000000',
  },
}
SCSS
$custom: #631b9e;
$custom-light: #9662bc;
$custom-dark: #000000;
JSON
{
  "hex": "#631b9e",
  "rgb": {
    "r": 99,
    "g": 27,
    "b": 158
  },
  "hsl": {
    "h": 272.977,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.41426,
    "c": 0.19237,
    "h": 303.4
  },
  "luminance": 0.05905
}

Semantic roles & 50–950 ramp

primary
#631B9E
secondary
#85C451
accent
#EE3A8B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #631B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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