#631B88#631B88

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

Color values

HEX#631B88
RGBrgb(99, 27, 136)
HSLhsl(280, 67%, 32%)
HSVhsv(280, 80%, 53%)
CMYKcmyk(27.2%, 80.1%, 0%, 46.7%)
CIE-LABlab(27.34, 49.09, -45.70)
CIE-LCHlch(27.34, 67.08, 317.05°)
OKLaboklab(39.57% 0.1118 -0.1296)
OKLCHoklch(39.57% 0.171 310.8)
XYZxyz(9.9806, 5.2143, 23.7685)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631B88 #40881B
analogous
#2D1B88 #631B88 #881B77
triadic
#631B88 #88631B #1B8863
tetradic
#631B88 #882D1B #40881B #1B7788
square
#631B88 #882D1B #40881B #1B7788
split-complementary
#631B88 #77881B #1B882D
monochromatic
#190722 #3E1155 #631B88 #8825BB #A744DA

Accessibility & contrast

On white

10.28
#631B88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#631B88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631B88
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631B88#FFFFFF#000000##FFFFFF
##631B881.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #631b88;
/* rgb */ color: rgb(99, 27, 136);
/* oklch */ color: oklch(39.6% 0.171 310.8);
Tailwind
colors: {
  custom: {
    50: '#9461ab',
    500: '#631b88',
    950: '#000000',
  },
}
SCSS
$custom: #631b88;
$custom-light: #9461ab;
$custom-dark: #000000;
JSON
{
  "hex": "#631b88",
  "rgb": {
    "r": 99,
    "g": 27,
    "b": 136
  },
  "hsl": {
    "h": 279.633,
    "s": 66.871,
    "l": 31.961
  },
  "oklch": {
    "l": 0.39575,
    "c": 0.17112,
    "h": 310.8
  },
  "luminance": 0.05214
}

Semantic roles & 50–950 ramp

primary
#631B88
secondary
#6CBB44
accent
#EA3E78
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #631B88

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

Preview Lab → · Contrast checker → · Palette generator →

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