#631871#631871

#631871 is a dark, vivid purple. Relative luminance 0.045; OKLCH L 37.6% C 0.153 H 320.7°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#631871
RGBrgb(99, 24, 113)
HSLhsl(291, 65%, 27%)
HSVhsv(291, 79%, 44%)
CMYKcmyk(12.4%, 78.8%, 0%, 55.7%)
CIE-LABlab(25.26, 45.35, -34.50)
CIE-LCHlch(25.26, 56.98, 322.74°)
OKLaboklab(37.57% 0.1183 -0.0967)
OKLCHoklch(37.57% 0.153 320.7)
XYZxyz(8.4525, 4.4986, 16.0427)
Luminance0.0450 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631871 #267118
analogous
#371871 #631871 #711853
triadic
#631871 #716318 #187163
tetradic
#631871 #713718 #267118 #185371
square
#631871 #713718 #267118 #185371
split-complementary
#631871 #537118 #187137
monochromatic
#160519 #370D3F #631871 #8F23A3 #B930D3

Accessibility & contrast

On white

11.05
#631871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#631871 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631871
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631871#FFFFFF#000000##FFFFFF
##6318711.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003773
Deuteranopia (green-blind)
#223E6F
Tritanopia (blue-blind)
#642A44
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #631871;
/* rgb */ color: rgb(99, 24, 113);
/* oklch */ color: oklch(37.6% 0.153 320.7);
Tailwind
colors: {
  custom: {
    50: '#935e9a',
    500: '#631871',
    950: '#000000',
  },
}
SCSS
$custom: #631871;
$custom-light: #935e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#631871",
  "rgb": {
    "r": 99,
    "g": 24,
    "b": 113
  },
  "hsl": {
    "h": 290.562,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.37568,
    "c": 0.15282,
    "h": 320.7
  },
  "luminance": 0.04498
}

Semantic roles & 50–950 ramp

primary
#631871
secondary
#4FA63E
accent
#E8405A
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #631871

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

Preview Lab → · Contrast checker → · Palette generator →

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