#631986#631986

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

Color values

HEX#631986
RGBrgb(99, 25, 134)
HSLhsl(281, 69%, 31%)
HSVhsv(281, 81%, 53%)
CMYKcmyk(26.1%, 81.3%, 0%, 47.5%)
CIE-LABlab(26.93, 49.37, -45.11)
CIE-LCHlch(26.93, 66.88, 317.58°)
OKLaboklab(39.24% 0.1139 -0.1278)
OKLCHoklch(39.24% 0.171 311.7)
XYZxyz(9.7955, 5.0694, 23.0121)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631986 #3C8619
analogous
#2C1986 #631986 #861972
triadic
#631986 #866319 #198663
tetradic
#631986 #862C19 #3C8619 #197286
square
#631986 #862C19 #3C8619 #197286
split-complementary
#631986 #728619 #19862C
monochromatic
#17061F #3D0F52 #631986 #8923BA #A93EDB

Accessibility & contrast

On white

10.43
#631986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##631986#FFFFFF#000000##FFFFFF
##6319861.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)
#003C89
Deuteranopia (green-blind)
#004184
Tritanopia (blue-blind)
#5F3450
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #631986;
/* rgb */ color: rgb(99, 25, 134);
/* oklch */ color: oklch(39.2% 0.171 311.7);
Tailwind
colors: {
  custom: {
    50: '#9460aa',
    500: '#631986',
    950: '#000000',
  },
}
SCSS
$custom: #631986;
$custom-light: #9460aa;
$custom-dark: #000000;
JSON
{
  "hex": "#631986",
  "rgb": {
    "r": 99,
    "g": 25,
    "b": 134
  },
  "hsl": {
    "h": 280.734,
    "s": 68.553,
    "l": 31.176
  },
  "oklch": {
    "l": 0.39241,
    "c": 0.17123,
    "h": 311.7
  },
  "luminance": 0.05069
}

Semantic roles & 50–950 ramp

primary
#631986
secondary
#68BA41
accent
#EB3C75
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #631986

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

Preview Lab → · Contrast checker → · Palette generator →

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