#631EA7#631EA7

#631EA7 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.5% C 0.199 H 300.5°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#631EA7
RGBrgb(99, 30, 167)
HSLhsl(270, 70%, 39%)
HSVhsv(270, 82%, 65%)
CMYKcmyk(40.7%, 82%, 0%, 34.5%)
CIE-LABlab(30.33, 55.13, -59.83)
CIE-LCHlch(30.33, 81.36, 312.66°)
OKLaboklab(42.47% 0.1008 -0.1711)
OKLCHoklch(42.47% 0.199 300.5)
XYZxyz(12.5832, 6.3711, 37.1185)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631EA7 #62A71E
analogous
#1E1EA7 #631EA7 #A71EA6
triadic
#631EA7 #A7631E #1EA763
tetradic
#631EA7 #A71E1E #62A71E #1EA6A7
square
#631EA7 #A71E1E #62A71E #1EA6A7
split-complementary
#631EA7 #A6A71E #1EA71E
monochromatic
#250B3F #441573 #631EA7 #822AD9 #A05DE2

Accessibility & contrast

On white

9.23
#631EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#631EA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631EA7
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631EA7#FFFFFF#000000##FFFFFF
##631EA71.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AB
Deuteranopia (green-blind)
#0046A4
Tritanopia (blue-blind)
#534564
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #631ea7;
/* rgb */ color: rgb(99, 30, 167);
/* oklch */ color: oklch(42.5% 0.199 300.5);
Tailwind
colors: {
  custom: {
    50: '#9664c2',
    500: '#631ea7',
    950: '#000000',
  },
}
SCSS
$custom: #631ea7;
$custom-light: #9664c2;
$custom-dark: #000000;
JSON
{
  "hex": "#631ea7",
  "rgb": {
    "r": 99,
    "g": 30,
    "b": 167
  },
  "hsl": {
    "h": 270.219,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.42474,
    "c": 0.1986,
    "h": 300.5
  },
  "luminance": 0.06371
}

Semantic roles & 50–950 ramp

primary
#631EA7
secondary
#90C65B
accent
#EC3B93
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #631EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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