#631371#631371

#631371 is a dark, vivid purple. Relative luminance 0.043; OKLCH L 37.2% C 0.158 H 321.0°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#631371
RGBrgb(99, 19, 113)
HSLhsl(291, 71%, 26%)
HSVhsv(291, 83%, 44%)
CMYKcmyk(12.4%, 83.2%, 0%, 55.7%)
CIE-LABlab(24.67, 47.03, -35.44)
CIE-LCHlch(24.67, 58.89, 323.00°)
OKLaboklab(37.16% 0.1228 -0.0994)
OKLCHoklch(37.16% 0.158 321)
XYZxyz(8.3588, 4.3111, 16.0114)
Luminance0.0431 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631371 #217113
analogous
#341371 #631371 #711350
triadic
#631371 #716313 #137163
tetradic
#631371 #713413 #217113 #135071
square
#631371 #713413 #217113 #135071
split-complementary
#631371 #507113 #137134
monochromatic
#17041A #350A3D #631371 #911CA5 #BF25DA

Accessibility & contrast

On white

11.28
#631371 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#631371 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631371
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631371#FFFFFF#000000##FFFFFF
##6313711.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003573
Deuteranopia (green-blind)
#1F3D6F
Tritanopia (blue-blind)
#642742
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #631371;
/* rgb */ color: rgb(99, 19, 113);
/* oklch */ color: oklch(37.2% 0.158 321.0);
Tailwind
colors: {
  custom: {
    50: '#935c9a',
    500: '#631371',
    950: '#000000',
  },
}
SCSS
$custom: #631371;
$custom-light: #935c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#631371",
  "rgb": {
    "r": 99,
    "g": 19,
    "b": 113
  },
  "hsl": {
    "h": 291.064,
    "s": 71.212,
    "l": 25.882
  },
  "oklch": {
    "l": 0.37157,
    "c": 0.15798,
    "h": 321
  },
  "luminance": 0.04311
}

Semantic roles & 50–950 ramp

primary
#631371
secondary
#49A838
accent
#EE3A55
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #631371

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

Preview Lab → · Contrast checker → · Palette generator →

#631371 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva