#631E71#631E71

#631E71 is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.2% C 0.146 H 320.4°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#631E71
RGBrgb(99, 30, 113)
HSLhsl(290, 58%, 28%)
HSVhsv(290, 73%, 44%)
CMYKcmyk(12.4%, 73.5%, 0%, 55.7%)
CIE-LABlab(26.08, 43.00, -33.18)
CIE-LCHlch(26.08, 54.31, 322.34°)
OKLaboklab(38.16% 0.1121 -0.0929)
OKLCHoklch(38.16% 0.146 320.4)
XYZxyz(8.5901, 4.7739, 16.0886)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631E71 #2C711E
analogous
#3A1E71 #631E71 #711E55
triadic
#631E71 #71631E #1E7163
tetradic
#631E71 #713A1E #2C711E #1E5571
square
#631E71 #713A1E #2C711E #1E5571
split-complementary
#631E71 #55711E #1E713A
monochromatic
#150618 #391141 #631E71 #8D2BA1 #B43ECC

Accessibility & contrast

On white

10.74
#631E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#631E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631E71
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631E71#FFFFFF#000000##FFFFFF
##631E711.0010.741.9510.74
#FFFFFF10.741.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003973
Deuteranopia (green-blind)
#26406F
Tritanopia (blue-blind)
#642D45
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #631e71;
/* rgb */ color: rgb(99, 30, 113);
/* oklch */ color: oklch(38.2% 0.146 320.4);
Tailwind
colors: {
  custom: {
    50: '#92619a',
    500: '#631e71',
    950: '#000000',
  },
}
SCSS
$custom: #631e71;
$custom-light: #92619a;
$custom-dark: #000000;
JSON
{
  "hex": "#631e71",
  "rgb": {
    "r": 99,
    "g": 30,
    "b": 113
  },
  "hsl": {
    "h": 289.88,
    "s": 58.042,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38156,
    "c": 0.14555,
    "h": 320.4
  },
  "luminance": 0.04773
}

Semantic roles & 50–950 ramp

primary
#631E71
secondary
#56A546
accent
#E14761
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #631E71

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

Preview Lab → · Contrast checker → · Palette generator →

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