#631771#631771

#631771 is a dark, vivid purple. Relative luminance 0.045; OKLCH L 37.5% C 0.154 H 320.8°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#631771
RGBrgb(99, 23, 113)
HSLhsl(291, 66%, 27%)
HSVhsv(291, 80%, 44%)
CMYKcmyk(12.4%, 79.6%, 0%, 55.7%)
CIE-LABlab(25.13, 45.71, -34.70)
CIE-LCHlch(25.13, 57.39, 322.79°)
OKLaboklab(37.48% 0.1193 -0.0973)
OKLCHoklch(37.48% 0.154 320.8)
XYZxyz(8.4323, 4.4582, 16.0359)
Luminance0.0446 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631771 #257117
analogous
#361771 #631771 #711752
triadic
#631771 #716317 #177163
tetradic
#631771 #713617 #257117 #175271
square
#631771 #713617 #257117 #175271
split-complementary
#631771 #527117 #177136
monochromatic
#160519 #360D3E #631771 #9021A4 #BB2ED4

Accessibility & contrast

On white

11.10
#631771 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#631771 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631771
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631771#FFFFFF#000000##FFFFFF
##6317711.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003673
Deuteranopia (green-blind)
#213E6F
Tritanopia (blue-blind)
#642943
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #631771;
/* rgb */ color: rgb(99, 23, 113);
/* oklch */ color: oklch(37.5% 0.154 320.8);
Tailwind
colors: {
  custom: {
    50: '#935e9a',
    500: '#631771',
    950: '#000000',
  },
}
SCSS
$custom: #631771;
$custom-light: #935e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#631771",
  "rgb": {
    "r": 99,
    "g": 23,
    "b": 113
  },
  "hsl": {
    "h": 290.667,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.3748,
    "c": 0.15391,
    "h": 320.8
  },
  "luminance": 0.04458
}

Semantic roles & 50–950 ramp

primary
#631771
secondary
#4EA73D
accent
#E93F59
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #631771

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

Preview Lab → · Contrast checker → · Palette generator →

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