#631FA0#631FA0

#631FA0 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.9% C 0.191 H 302.4°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#631FA0
RGBrgb(99, 31, 160)
HSLhsl(272, 68%, 37%)
HSVhsv(272, 81%, 63%)
CMYKcmyk(38.1%, 80.6%, 0%, 37.3%)
CIE-LABlab(29.84, 53.11, -56.40)
CIE-LCHlch(29.84, 77.47, 313.28°)
OKLaboklab(41.94% 0.1022 -0.161)
OKLCHoklch(41.94% 0.191 302.4)
XYZxyz(11.9792, 6.1707, 33.8108)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631FA0 #5CA01F
analogous
#231FA0 #631FA0 #A01F9C
triadic
#631FA0 #A0631F #1FA063
tetradic
#631FA0 #A0231F #5CA01F #1F9CA0
square
#631FA0 #A0231F #5CA01F #1F9CA0
split-complementary
#631FA0 #9CA01F #1FA023
monochromatic
#240B39 #43156D #631FA0 #8329D3 #A05ADF

Accessibility & contrast

On white

9.40
#631FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#631FA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631FA0
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631FA0#FFFFFF#000000##FFFFFF
##631FA01.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A3
Deuteranopia (green-blind)
#00469E
Tritanopia (blue-blind)
#564260
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #631fa0;
/* rgb */ color: rgb(99, 31, 160);
/* oklch */ color: oklch(41.9% 0.191 302.4);
Tailwind
colors: {
  custom: {
    50: '#9664bd',
    500: '#631fa0',
    950: '#000000',
  },
}
SCSS
$custom: #631fa0;
$custom-light: #9664bd;
$custom-dark: #000000;
JSON
{
  "hex": "#631fa0",
  "rgb": {
    "r": 99,
    "g": 31,
    "b": 160
  },
  "hsl": {
    "h": 271.628,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.41943,
    "c": 0.19074,
    "h": 302.4
  },
  "luminance": 0.06171
}

Semantic roles & 50–950 ramp

primary
#631FA0
secondary
#8AC358
accent
#EA3D8F
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #631FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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