#631F9E#631F9E

#631F9E is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.8% C 0.189 H 303.0°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#631F9E
RGBrgb(99, 31, 158)
HSLhsl(272, 67%, 37%)
HSVhsv(272, 80%, 62%)
CMYKcmyk(37.3%, 80.4%, 0%, 38%)
CIE-LABlab(29.67, 52.63, -55.47)
CIE-LCHlch(29.67, 76.47, 313.50°)
OKLaboklab(41.77% 0.1028 -0.1583)
OKLCHoklch(41.77% 0.189 303)
XYZxyz(11.8057, 6.1012, 32.8968)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631F9E #5A9E1F
analogous
#231F9E #631F9E #9E1F9A
triadic
#631F9E #9E631F #1F9E63
tetradic
#631F9E #9E231F #5A9E1F #1F9A9E
square
#631F9E #9E231F #5A9E1F #1F9A9E
split-complementary
#631F9E #9A9E1F #1F9E23
monochromatic
#230B38 #43156B #631F9E #8329D1 #A059DE

Accessibility & contrast

On white

9.46
#631F9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#631F9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631F9E
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631F9E#FFFFFF#000000##FFFFFF
##631F9E1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #631f9e;
/* rgb */ color: rgb(99, 31, 158);
/* oklch */ color: oklch(41.8% 0.189 303.0);
Tailwind
colors: {
  custom: {
    50: '#9564bc',
    500: '#631f9e',
    950: '#000000',
  },
}
SCSS
$custom: #631f9e;
$custom-light: #9564bc;
$custom-dark: #000000;
JSON
{
  "hex": "#631f9e",
  "rgb": {
    "r": 99,
    "g": 31,
    "b": 158
  },
  "hsl": {
    "h": 272.126,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.4177,
    "c": 0.18874,
    "h": 303
  },
  "luminance": 0.06101
}

Semantic roles & 50–950 ramp

primary
#631F9E
secondary
#89C256
accent
#EA3E8E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #631F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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