#631E72#631E72

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

Color values

HEX#631E72
RGBrgb(99, 30, 114)
HSLhsl(289, 58%, 28%)
HSVhsv(289, 74%, 45%)
CMYKcmyk(13.2%, 73.7%, 0%, 55.3%)
CIE-LABlab(26.15, 43.21, -33.72)
CIE-LCHlch(26.15, 54.81, 322.03°)
OKLaboklab(38.22% 0.112 -0.0944)
OKLCHoklch(38.22% 0.147 319.9)
XYZxyz(8.6467, 4.7965, 16.3867)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631E72 #2D721E
analogous
#391E72 #631E72 #721E57
triadic
#631E72 #72631E #1E7263
tetradic
#631E72 #72391E #2D721E #1E5772
square
#631E72 #72391E #2D721E #1E5772
split-complementary
#631E72 #57721E #1E7239
monochromatic
#150618 #391142 #631E72 #8D2BA2 #B33ECC

Accessibility & contrast

On white

10.72
#631E72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#631E72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631E72
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631E72#FFFFFF#000000##FFFFFF
##631E721.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003974
Deuteranopia (green-blind)
#254070
Tritanopia (blue-blind)
#632E46
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #631e72;
/* rgb */ color: rgb(99, 30, 114);
/* oklch */ color: oklch(38.2% 0.146 319.9);
Tailwind
colors: {
  custom: {
    50: '#92619b',
    500: '#631e72',
    950: '#000000',
  },
}
SCSS
$custom: #631e72;
$custom-light: #92619b;
$custom-dark: #000000;
JSON
{
  "hex": "#631e72",
  "rgb": {
    "r": 99,
    "g": 30,
    "b": 114
  },
  "hsl": {
    "h": 289.286,
    "s": 58.333,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38225,
    "c": 0.1465,
    "h": 319.9
  },
  "luminance": 0.04796
}

Semantic roles & 50–950 ramp

primary
#631E72
secondary
#57A646
accent
#E24662
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #631E72

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

Preview Lab → · Contrast checker → · Palette generator →

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