#631FA1#631FA1

#631FA1 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 42.0% C 0.192 H 302.1°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#631FA1
RGBrgb(99, 31, 161)
HSLhsl(271, 68%, 38%)
HSVhsv(271, 81%, 63%)
CMYKcmyk(38.5%, 80.7%, 0%, 36.9%)
CIE-LABlab(29.93, 53.34, -56.87)
CIE-LCHlch(29.93, 77.97, 313.17°)
OKLaboklab(42.03% 0.1019 -0.1624)
OKLCHoklch(42.03% 0.192 302.1)
XYZxyz(12.0670, 6.2058, 34.2734)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631FA1 #5DA11F
analogous
#221FA1 #631FA1 #A11F9E
triadic
#631FA1 #A1631F #1FA163
tetradic
#631FA1 #A1221F #5DA11F #1F9EA1
square
#631FA1 #A1221F #5DA11F #1F9EA1
split-complementary
#631FA1 #9EA11F #1FA122
monochromatic
#240B3A #43156E #631FA1 #8329D4 #A05BDF

Accessibility & contrast

On white

9.37
#631FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#631FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631FA1
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631FA1#FFFFFF#000000##FFFFFF
##631FA11.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A5
Deuteranopia (green-blind)
#00469F
Tritanopia (blue-blind)
#554361
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #631fa1;
/* rgb */ color: rgb(99, 31, 161);
/* oklch */ color: oklch(42.0% 0.192 302.1);
Tailwind
colors: {
  custom: {
    50: '#9664be',
    500: '#631fa1',
    950: '#000000',
  },
}
SCSS
$custom: #631fa1;
$custom-light: #9664be;
$custom-dark: #000000;
JSON
{
  "hex": "#631fa1",
  "rgb": {
    "r": 99,
    "g": 31,
    "b": 161
  },
  "hsl": {
    "h": 271.385,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.4203,
    "c": 0.19174,
    "h": 302.1
  },
  "luminance": 0.06206
}

Semantic roles & 50–950 ramp

primary
#631FA1
secondary
#8BC458
accent
#EB3D90
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #631FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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