#631D7D#631D7D

#631D7D is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.9% C 0.158 H 315.0°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#631D7D
RGBrgb(99, 29, 125)
HSLhsl(284, 62%, 30%)
HSVhsv(284, 77%, 49%)
CMYKcmyk(20.8%, 76.8%, 0%, 51%)
CIE-LABlab(26.77, 45.93, -39.71)
CIE-LCHlch(26.77, 60.72, 319.15°)
OKLaboklab(38.91% 0.1119 -0.112)
OKLCHoklch(38.91% 0.158 315)
XYZxyz(9.2860, 5.0124, 19.8764)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631D7D #377D1D
analogous
#331D7D #631D7D #7D1D67
triadic
#631D7D #7D631D #1D7D63
tetradic
#631D7D #7D331D #377D1D #1D677D
square
#631D7D #7D331D #377D1D #1D677D
split-complementary
#631D7D #677D1D #1D7D33
monochromatic
#14061A #3C114B #631D7D #8A29AF #AC41D3

Accessibility & contrast

On white

10.49
#631D7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#631D7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631D7D
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631D7D#FFFFFF#000000##FFFFFF
##631D7D1.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B80
Deuteranopia (green-blind)
#19417B
Tritanopia (blue-blind)
#61324C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #631d7d;
/* rgb */ color: rgb(99, 29, 125);
/* oklch */ color: oklch(38.9% 0.158 315.0);
Tailwind
colors: {
  custom: {
    50: '#9361a3',
    500: '#631d7d',
    950: '#000000',
  },
}
SCSS
$custom: #631d7d;
$custom-light: #9361a3;
$custom-dark: #000000;
JSON
{
  "hex": "#631d7d",
  "rgb": {
    "r": 99,
    "g": 29,
    "b": 125
  },
  "hsl": {
    "h": 283.75,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.38912,
    "c": 0.15833,
    "h": 315
  },
  "luminance": 0.05012
}

Semantic roles & 50–950 ramp

primary
#631D7D
secondary
#62B145
accent
#E5426F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D050F
muted
#7E7A7F

Preview Lab

Preview with #631D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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