#631C87#631C87

#631C87 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.6% C 0.169 H 311.1°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#631C87
RGBrgb(99, 28, 135)
HSLhsl(280, 66%, 32%)
HSVhsv(280, 79%, 53%)
CMYKcmyk(26.7%, 79.3%, 0%, 47.1%)
CIE-LABlab(27.39, 48.50, -45.00)
CIE-LCHlch(27.39, 66.16, 317.15°)
OKLaboklab(39.59% 0.1111 -0.1275)
OKLCHoklch(39.59% 0.169 311.1)
XYZxyz(9.9332, 5.2327, 23.4037)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631C87 #40871C
analogous
#2E1C87 #631C87 #871C76
triadic
#631C87 #87631C #1C8763
tetradic
#631C87 #872E1C #40871C #1C7687
square
#631C87 #872E1C #40871C #1C7687
split-complementary
#631C87 #76871C #1C872E
monochromatic
#190722 #3E1154 #631C87 #8827BA #A745D8

Accessibility & contrast

On white

10.26
#631C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#631C87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631C87
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631C87#FFFFFF#000000##FFFFFF
##631C871.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8A
Deuteranopia (green-blind)
#024285
Tritanopia (blue-blind)
#5E3651
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #631c87;
/* rgb */ color: rgb(99, 28, 135);
/* oklch */ color: oklch(39.6% 0.169 311.1);
Tailwind
colors: {
  custom: {
    50: '#9461ab',
    500: '#631c87',
    950: '#000000',
  },
}
SCSS
$custom: #631c87;
$custom-light: #9461ab;
$custom-dark: #000000;
JSON
{
  "hex": "#631c87",
  "rgb": {
    "r": 99,
    "g": 28,
    "b": 135
  },
  "hsl": {
    "h": 279.813,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.39586,
    "c": 0.16911,
    "h": 311.1
  },
  "luminance": 0.05232
}

Semantic roles & 50–950 ramp

primary
#631C87
secondary
#6CBA45
accent
#E93F78
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #631C87

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

Preview Lab → · Contrast checker → · Palette generator →

#631C87 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva