#631981#631981

#631981 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.8% C 0.167 H 313.7°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#631981
RGBrgb(99, 25, 129)
HSLhsl(283, 68%, 30%)
HSVhsv(283, 81%, 51%)
CMYKcmyk(23.3%, 80.6%, 0%, 49.4%)
CIE-LABlab(26.54, 48.30, -42.60)
CIE-LCHlch(26.54, 64.40, 318.58°)
OKLaboklab(38.85% 0.115 -0.1204)
OKLCHoklch(38.85% 0.167 313.7)
XYZxyz(9.4550, 4.9332, 21.2188)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631981 #378119
analogous
#2F1981 #631981 #81196B
triadic
#631981 #816319 #198163
tetradic
#631981 #812F19 #378119 #196B81
square
#631981 #812F19 #378119 #196B81
split-complementary
#631981 #6B8119 #19812F
monochromatic
#14051A #3C0F4E #631981 #8A23B4 #AC3BD9

Accessibility & contrast

On white

10.57
#631981 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#631981 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631981
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631981#FFFFFF#000000##FFFFFF
##6319811.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B84
Deuteranopia (green-blind)
#0D407F
Tritanopia (blue-blind)
#60324D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #631981;
/* rgb */ color: rgb(99, 25, 129);
/* oklch */ color: oklch(38.8% 0.167 313.7);
Tailwind
colors: {
  custom: {
    50: '#935fa6',
    500: '#631981',
    950: '#000000',
  },
}
SCSS
$custom: #631981;
$custom-light: #935fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#631981",
  "rgb": {
    "r": 99,
    "g": 25,
    "b": 129
  },
  "hsl": {
    "h": 282.692,
    "s": 67.532,
    "l": 30.196
  },
  "oklch": {
    "l": 0.38847,
    "c": 0.16652,
    "h": 313.7
  },
  "luminance": 0.04933
}

Semantic roles & 50–950 ramp

primary
#631981
secondary
#62B541
accent
#EA3D6F
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #631981

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

Preview Lab → · Contrast checker → · Palette generator →

#631981 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva