#631E7D#631E7D

#631E7D is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.0% C 0.157 H 314.9°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#631E7D
RGBrgb(99, 30, 125)
HSLhsl(284, 61%, 30%)
HSVhsv(284, 76%, 49%)
CMYKcmyk(20.8%, 76%, 0%, 51%)
CIE-LABlab(26.91, 45.53, -39.49)
CIE-LCHlch(26.91, 60.27, 319.07°)
OKLaboklab(39.01% 0.1109 -0.1113)
OKLCHoklch(39.01% 0.157 314.9)
XYZxyz(9.3109, 5.0622, 19.8847)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631E7D #387D1E
analogous
#331E7D #631E7D #7D1E67
triadic
#631E7D #7D631E #1E7D63
tetradic
#631E7D #7D331E #387D1E #1E677D
square
#631E7D #7D331E #387D1E #1E677D
split-complementary
#631E7D #677D1E #1E7D33
monochromatic
#15061A #3C124C #631E7D #8A2AAE #AB43D2

Accessibility & contrast

On white

10.44
#631E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#631E7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631E7D
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631E7D#FFFFFF#000000##FFFFFF
##631E7D1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C80
Deuteranopia (green-blind)
#1A417B
Tritanopia (blue-blind)
#61334C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #631e7d;
/* rgb */ color: rgb(99, 30, 125);
/* oklch */ color: oklch(39.0% 0.157 314.9);
Tailwind
colors: {
  custom: {
    50: '#9361a3',
    500: '#631e7d',
    950: '#000000',
  },
}
SCSS
$custom: #631e7d;
$custom-light: #9361a3;
$custom-dark: #000000;
JSON
{
  "hex": "#631e7d",
  "rgb": {
    "r": 99,
    "g": 30,
    "b": 125
  },
  "hsl": {
    "h": 283.579,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39013,
    "c": 0.15715,
    "h": 314.9
  },
  "luminance": 0.05062
}

Semantic roles & 50–950 ramp

primary
#631E7D
secondary
#63B046
accent
#E4436F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D050F
muted
#7E7A7F

Preview Lab

Preview with #631E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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