#631A88#631A88

#631A88 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.5% C 0.172 H 310.9°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#631A88
RGBrgb(99, 26, 136)
HSLhsl(280, 68%, 32%)
HSVhsv(280, 81%, 53%)
CMYKcmyk(27.2%, 80.9%, 0%, 46.7%)
CIE-LABlab(27.21, 49.45, -45.91)
CIE-LCHlch(27.21, 67.48, 317.13°)
OKLaboklab(39.49% 0.1126 -0.1302)
OKLCHoklch(39.49% 0.172 310.9)
XYZxyz(9.9581, 5.1693, 23.7610)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631A88 #3F881A
analogous
#2C1A88 #631A88 #881A76
triadic
#631A88 #88631A #1A8863
tetradic
#631A88 #882C1A #3F881A #1A7688
square
#631A88 #882C1A #3F881A #1A7688
split-complementary
#631A88 #76881A #1A882C
monochromatic
#180621 #3E1055 #631A88 #8824BB #A742DB

Accessibility & contrast

On white

10.33
#631A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#631A88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631A88
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631A88#FFFFFF#000000##FFFFFF
##631A881.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8B
Deuteranopia (green-blind)
#004186
Tritanopia (blue-blind)
#5E3551
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #631a88;
/* rgb */ color: rgb(99, 26, 136);
/* oklch */ color: oklch(39.5% 0.172 310.9);
Tailwind
colors: {
  custom: {
    50: '#9460ab',
    500: '#631a88',
    950: '#000000',
  },
}
SCSS
$custom: #631a88;
$custom-light: #9460ab;
$custom-dark: #000000;
JSON
{
  "hex": "#631a88",
  "rgb": {
    "r": 99,
    "g": 26,
    "b": 136
  },
  "hsl": {
    "h": 279.818,
    "s": 67.901,
    "l": 31.765
  },
  "oklch": {
    "l": 0.39487,
    "c": 0.17213,
    "h": 310.9
  },
  "luminance": 0.05169
}

Semantic roles & 50–950 ramp

primary
#631A88
secondary
#6BBB43
accent
#EB3D77
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #631A88

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

Preview Lab → · Contrast checker → · Palette generator →

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