#631FA9#631FA9

#631FA9 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.7% C 0.200 H 299.9°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#631FA9
RGBrgb(99, 31, 169)
HSLhsl(270, 69%, 39%)
HSVhsv(270, 82%, 66%)
CMYKcmyk(41.4%, 81.7%, 0%, 33.7%)
CIE-LABlab(30.63, 55.25, -60.54)
CIE-LCHlch(30.63, 81.96, 312.38°)
OKLaboklab(42.74% 0.0995 -0.1732)
OKLCHoklch(42.74% 0.2 299.9)
XYZxyz(12.7952, 6.4970, 38.1084)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631FA9 #65A91F
analogous
#1F20A9 #631FA9 #A81FA9
triadic
#631FA9 #A9631F #1FA963
tetradic
#631FA9 #A91F20 #65A91F #1FA9A8
square
#631FA9 #A91F20 #65A91F #1FA9A8
split-complementary
#631FA9 #A9A81F #20A91F
monochromatic
#260C42 #451675 #631FA9 #812DD8 #A060E2

Accessibility & contrast

On white

9.13
#631FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#631FA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631FA9
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631FA9#FFFFFF#000000##FFFFFF
##631FA91.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AD
Deuteranopia (green-blind)
#0047A6
Tritanopia (blue-blind)
#524665
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #631fa9;
/* rgb */ color: rgb(99, 31, 169);
/* oklch */ color: oklch(42.7% 0.200 299.9);
Tailwind
colors: {
  custom: {
    50: '#9764c4',
    500: '#631fa9',
    950: '#000000',
  },
}
SCSS
$custom: #631fa9;
$custom-light: #9764c4;
$custom-dark: #000000;
JSON
{
  "hex": "#631fa9",
  "rgb": {
    "r": 99,
    "g": 31,
    "b": 169
  },
  "hsl": {
    "h": 269.565,
    "s": 69,
    "l": 39.216
  },
  "oklch": {
    "l": 0.42739,
    "c": 0.19973,
    "h": 299.9
  },
  "luminance": 0.06497
}

Semantic roles & 50–950 ramp

primary
#631FA9
secondary
#93C75D
accent
#EC3C95
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #631FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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