#631E88#631E88

#631E88 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.9% C 0.168 H 310.5°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#631E88
RGBrgb(99, 30, 136)
HSLhsl(279, 64%, 33%)
HSVhsv(279, 78%, 53%)
CMYKcmyk(27.2%, 77.9%, 0%, 46.7%)
CIE-LABlab(27.73, 47.95, -45.06)
CIE-LCHlch(27.73, 65.80, 316.78°)
OKLaboklab(39.86% 0.1091 -0.1277)
OKLCHoklch(39.86% 0.168 310.5)
XYZxyz(10.0529, 5.3590, 23.7926)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631E88 #43881E
analogous
#2E1E88 #631E88 #881E78
triadic
#631E88 #88631E #1E8863
tetradic
#631E88 #882E1E #43881E #1E7888
square
#631E88 #882E1E #43881E #1E7888
split-complementary
#631E88 #78881E #1E882E
monochromatic
#1A0824 #3F1356 #631E88 #8729BA #A649D7

Accessibility & contrast

On white

10.14
#631E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#631E88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631E88
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631E88#FFFFFF#000000##FFFFFF
##631E881.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #631e88;
/* rgb */ color: rgb(99, 30, 136);
/* oklch */ color: oklch(39.9% 0.168 310.5);
Tailwind
colors: {
  custom: {
    50: '#9462ab',
    500: '#631e88',
    950: '#000000',
  },
}
SCSS
$custom: #631e88;
$custom-light: #9462ab;
$custom-dark: #000000;
JSON
{
  "hex": "#631e88",
  "rgb": {
    "r": 99,
    "g": 30,
    "b": 136
  },
  "hsl": {
    "h": 279.057,
    "s": 63.855,
    "l": 32.549
  },
  "oklch": {
    "l": 0.39855,
    "c": 0.16793,
    "h": 310.5
  },
  "luminance": 0.05359
}

Semantic roles & 50–950 ramp

primary
#631E88
secondary
#70B949
accent
#E7417B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #631E88

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

Preview Lab → · Contrast checker → · Palette generator →

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