#631887#631887

#631887 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.2% C 0.173 H 311.4°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#631887
RGBrgb(99, 24, 135)
HSLhsl(281, 70%, 31%)
HSVhsv(281, 82%, 53%)
CMYKcmyk(26.7%, 82.2%, 0%, 47.1%)
CIE-LABlab(26.89, 49.93, -45.80)
CIE-LCHlch(26.89, 67.76, 317.47°)
OKLaboklab(39.24% 0.1145 -0.1298)
OKLCHoklch(39.24% 0.173 311.4)
XYZxyz(9.8446, 5.0554, 23.3742)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631887 #3C8718
analogous
#2C1887 #631887 #871873
triadic
#631887 #876318 #188763
tetradic
#631887 #872C18 #3C8718 #187387
square
#631887 #872C18 #3C8718 #187387
split-complementary
#631887 #738718 #18872C
monochromatic
#17061F #3D0F53 #631887 #8921BB #A93DDC

Accessibility & contrast

On white

10.44
#631887 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#631887 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631887
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631887#FFFFFF#000000##FFFFFF
##6318871.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8A
Deuteranopia (green-blind)
#004185
Tritanopia (blue-blind)
#5E3450
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #631887;
/* rgb */ color: rgb(99, 24, 135);
/* oklch */ color: oklch(39.2% 0.173 311.4);
Tailwind
colors: {
  custom: {
    50: '#945fab',
    500: '#631887',
    950: '#000000',
  },
}
SCSS
$custom: #631887;
$custom-light: #945fab;
$custom-dark: #000000;
JSON
{
  "hex": "#631887",
  "rgb": {
    "r": 99,
    "g": 24,
    "b": 135
  },
  "hsl": {
    "h": 280.541,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.39239,
    "c": 0.17314,
    "h": 311.4
  },
  "luminance": 0.05055
}

Semantic roles & 50–950 ramp

primary
#631887
secondary
#68BB40
accent
#ED3B75
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #631887

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

Preview Lab → · Contrast checker → · Palette generator →

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