#631571#631571

#631571 is a dark, vivid purple. Relative luminance 0.044; OKLCH L 37.3% C 0.156 H 320.9°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#631571
RGBrgb(99, 21, 113)
HSLhsl(291, 69%, 26%)
HSVhsv(291, 81%, 44%)
CMYKcmyk(12.4%, 81.4%, 0%, 55.7%)
CIE-LABlab(24.90, 46.39, -35.08)
CIE-LCHlch(24.90, 58.16, 322.90°)
OKLaboklab(37.31% 0.1211 -0.0984)
OKLCHoklch(37.31% 0.156 320.9)
XYZxyz(8.3940, 4.3817, 16.0232)
Luminance0.0438 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631571 #237115
analogous
#351571 #631571 #711551
triadic
#631571 #716315 #157163
tetradic
#631571 #713515 #237115 #155171
square
#631571 #713515 #237115 #155171
split-complementary
#631571 #517115 #157135
monochromatic
#17051A #360B3D #631571 #901FA5 #BD29D7

Accessibility & contrast

On white

11.19
#631571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#631571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631571
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631571#FFFFFF#000000##FFFFFF
##6315711.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003673
Deuteranopia (green-blind)
#203E6F
Tritanopia (blue-blind)
#642843
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #631571;
/* rgb */ color: rgb(99, 21, 113);
/* oklch */ color: oklch(37.3% 0.156 320.9);
Tailwind
colors: {
  custom: {
    50: '#935d9a',
    500: '#631571',
    950: '#000000',
  },
}
SCSS
$custom: #631571;
$custom-light: #935d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#631571",
  "rgb": {
    "r": 99,
    "g": 21,
    "b": 113
  },
  "hsl": {
    "h": 290.87,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.37313,
    "c": 0.15601,
    "h": 320.9
  },
  "luminance": 0.04381
}

Semantic roles & 50–950 ramp

primary
#631571
secondary
#4BA73B
accent
#EB3C57
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #631571

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

Preview Lab → · Contrast checker → · Palette generator →

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