#631881#631881

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

Color values

HEX#631881
RGBrgb(99, 24, 129)
HSLhsl(283, 69%, 30%)
HSVhsv(283, 81%, 51%)
CMYKcmyk(23.3%, 81.4%, 0%, 49.4%)
CIE-LABlab(26.42, 48.65, -42.80)
CIE-LCHlch(26.42, 64.79, 318.66°)
OKLaboklab(38.76% 0.1159 -0.121)
OKLCHoklch(38.76% 0.168 313.7)
XYZxyz(9.4340, 4.8912, 21.2118)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631881 #368118
analogous
#2E1881 #631881 #81186B
triadic
#631881 #816318 #188163
tetradic
#631881 #812E18 #368118 #186B81
square
#631881 #812E18 #368118 #186B81
split-complementary
#631881 #6B8118 #18812E
monochromatic
#14051A #3B0E4D #631881 #8B22B5 #AC39DA

Accessibility & contrast

On white

10.62
#631881 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#631881 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631881
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631881#FFFFFF#000000##FFFFFF
##6318811.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B84
Deuteranopia (green-blind)
#0C407F
Tritanopia (blue-blind)
#60314D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #631881;
/* rgb */ color: rgb(99, 24, 129);
/* oklch */ color: oklch(38.8% 0.168 313.7);
Tailwind
colors: {
  custom: {
    50: '#935fa6',
    500: '#631881',
    950: '#000000',
  },
}
SCSS
$custom: #631881;
$custom-light: #935fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#631881",
  "rgb": {
    "r": 99,
    "g": 24,
    "b": 129
  },
  "hsl": {
    "h": 282.857,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.38762,
    "c": 0.16753,
    "h": 313.7
  },
  "luminance": 0.04891
}

Semantic roles & 50–950 ramp

primary
#631881
secondary
#61B540
accent
#EB3C6E
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #631881

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

Preview Lab → · Contrast checker → · Palette generator →

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