#631C81#631C81

#631C81 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.1% C 0.163 H 313.4°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#631C81
RGBrgb(99, 28, 129)
HSLhsl(282, 64%, 31%)
HSVhsv(282, 78%, 51%)
CMYKcmyk(23.3%, 78.3%, 0%, 49.4%)
CIE-LABlab(26.93, 47.19, -41.98)
CIE-LCHlch(26.93, 63.16, 318.34°)
OKLaboklab(39.12% 0.1123 -0.1186)
OKLCHoklch(39.12% 0.163 313.4)
XYZxyz(9.5226, 5.0684, 21.2413)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631C81 #3A811C
analogous
#301C81 #631C81 #811C6C
triadic
#631C81 #81631C #1C8163
tetradic
#631C81 #81301C #3A811C #1C6C81
square
#631C81 #81301C #3A811C #1C6C81
split-complementary
#631C81 #6C811C #1C8130
monochromatic
#16061C #3C114F #631C81 #8A27B3 #AA42D6

Accessibility & contrast

On white

10.43
#631C81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #631C81
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631C81#FFFFFF#000000##FFFFFF
##631C811.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C84
Deuteranopia (green-blind)
#11417F
Tritanopia (blue-blind)
#60334E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #631c81;
/* rgb */ color: rgb(99, 28, 129);
/* oklch */ color: oklch(39.1% 0.163 313.4);
Tailwind
colors: {
  custom: {
    50: '#9361a6',
    500: '#631c81',
    950: '#000000',
  },
}
SCSS
$custom: #631c81;
$custom-light: #9361a6;
$custom-dark: #000000;
JSON
{
  "hex": "#631c81",
  "rgb": {
    "r": 99,
    "g": 28,
    "b": 129
  },
  "hsl": {
    "h": 282.178,
    "s": 64.331,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39118,
    "c": 0.16333,
    "h": 313.4
  },
  "luminance": 0.05068
}

Semantic roles & 50–950 ramp

primary
#631C81
secondary
#66B444
accent
#E74072
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D050F
muted
#7E7A7F

Preview Lab

Preview with #631C81

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

Preview Lab → · Contrast checker → · Palette generator →

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