#631EA1#631EA1

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

Color values

HEX#631EA1
RGBrgb(99, 30, 161)
HSLhsl(272, 69%, 37%)
HSVhsv(272, 81%, 63%)
CMYKcmyk(38.5%, 81.4%, 0%, 36.9%)
CIE-LABlab(29.80, 53.71, -57.07)
CIE-LCHlch(29.80, 78.37, 313.26°)
OKLaboklab(41.94% 0.1027 -0.163)
OKLCHoklch(41.94% 0.193 302.2)
XYZxyz(12.0413, 6.1544, 34.2648)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631EA1 #5CA11E
analogous
#221EA1 #631EA1 #A11E9D
triadic
#631EA1 #A1631E #1EA163
tetradic
#631EA1 #A1221E #5CA11E #1E9DA1
square
#631EA1 #A1221E #5CA11E #1E9DA1
split-complementary
#631EA1 #9DA11E #1EA122
monochromatic
#240B3A #43146D #631EA1 #8328D5 #A059E0

Accessibility & contrast

On white

9.41
#631EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #631EA1
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631EA1#FFFFFF#000000##FFFFFF
##631EA11.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #631ea1;
/* rgb */ color: rgb(99, 30, 161);
/* oklch */ color: oklch(41.9% 0.193 302.2);
Tailwind
colors: {
  custom: {
    50: '#9663be',
    500: '#631ea1',
    950: '#000000',
  },
}
SCSS
$custom: #631ea1;
$custom-light: #9663be;
$custom-dark: #000000;
JSON
{
  "hex": "#631ea1",
  "rgb": {
    "r": 99,
    "g": 30,
    "b": 161
  },
  "hsl": {
    "h": 271.603,
    "s": 68.586,
    "l": 37.451
  },
  "oklch": {
    "l": 0.41942,
    "c": 0.19266,
    "h": 302.2
  },
  "luminance": 0.06154
}

Semantic roles & 50–950 ramp

primary
#631EA1
secondary
#8AC457
accent
#EB3C8F
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #631EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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