#631581#631581

#631581 is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.5% C 0.170 H 314.0°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#631581
RGBrgb(99, 21, 129)
HSLhsl(283, 72%, 29%)
HSVhsv(283, 84%, 51%)
CMYKcmyk(23.3%, 83.7%, 0%, 49.4%)
CIE-LABlab(26.08, 49.64, -43.35)
CIE-LCHlch(26.08, 65.90, 318.87°)
OKLaboklab(38.52% 0.1183 -0.1226)
OKLCHoklch(38.52% 0.17 314)
XYZxyz(9.3755, 4.7743, 21.1923)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631581 #338115
analogous
#2D1581 #631581 #811569
triadic
#631581 #816315 #158163
tetradic
#631581 #812D15 #338115 #156981
square
#631581 #812D15 #338115 #156981
split-complementary
#631581 #698115 #15812D
monochromatic
#14041A #3B0C4C #631581 #8B1EB6 #AE33DE

Accessibility & contrast

On white

10.74
#631581 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#631581 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631581
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631581#FFFFFF#000000##FFFFFF
##6315811.0010.741.9510.74
#FFFFFF10.741.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A84
Deuteranopia (green-blind)
#073F7F
Tritanopia (blue-blind)
#60304C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #631581;
/* rgb */ color: rgb(99, 21, 129);
/* oklch */ color: oklch(38.5% 0.170 314.0);
Tailwind
colors: {
  custom: {
    50: '#945ea6',
    500: '#631581',
    950: '#000000',
  },
}
SCSS
$custom: #631581;
$custom-light: #945ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#631581",
  "rgb": {
    "r": 99,
    "g": 21,
    "b": 129
  },
  "hsl": {
    "h": 283.333,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.38523,
    "c": 0.17037,
    "h": 314
  },
  "luminance": 0.04774
}

Semantic roles & 50–950 ramp

primary
#631581
secondary
#5EB63C
accent
#EF396C
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #631581

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

Preview Lab → · Contrast checker → · Palette generator →

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