#631C88#631C88

#631C88 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.7% C 0.170 H 310.7°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#631C88
RGBrgb(99, 28, 136)
HSLhsl(279, 66%, 32%)
HSVhsv(279, 79%, 53%)
CMYKcmyk(27.2%, 79.4%, 0%, 46.7%)
CIE-LABlab(27.47, 48.72, -45.50)
CIE-LCHlch(27.47, 66.66, 316.96°)
OKLaboklab(39.67% 0.1109 -0.129)
OKLCHoklch(39.67% 0.17 310.7)
XYZxyz(10.0039, 5.2610, 23.7763)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631C88 #41881C
analogous
#2D1C88 #631C88 #881C77
triadic
#631C88 #88631C #1C8863
tetradic
#631C88 #882D1C #41881C #1C7788
square
#631C88 #882D1C #41881C #1C7788
split-complementary
#631C88 #77881C #1C882D
monochromatic
#190722 #3E1255 #631C88 #8826BB #A646D9

Accessibility & contrast

On white

10.23
#631C88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #631C88
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631C88#FFFFFF#000000##FFFFFF
##631C881.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8B
Deuteranopia (green-blind)
#004286
Tritanopia (blue-blind)
#5E3652
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #631c88;
/* rgb */ color: rgb(99, 28, 136);
/* oklch */ color: oklch(39.7% 0.170 310.7);
Tailwind
colors: {
  custom: {
    50: '#9461ab',
    500: '#631c88',
    950: '#000000',
  },
}
SCSS
$custom: #631c88;
$custom-light: #9461ab;
$custom-dark: #000000;
JSON
{
  "hex": "#631c88",
  "rgb": {
    "r": 99,
    "g": 28,
    "b": 136
  },
  "hsl": {
    "h": 279.444,
    "s": 65.854,
    "l": 32.157
  },
  "oklch": {
    "l": 0.39666,
    "c": 0.17008,
    "h": 310.7
  },
  "luminance": 0.05261
}

Semantic roles & 50–950 ramp

primary
#631C88
secondary
#6DBA45
accent
#E93F79
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #631C88

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

Preview Lab → · Contrast checker → · Palette generator →

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