#631A97#631A97

#631A97 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.7% C 0.186 H 305.6°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#631A97
RGBrgb(99, 26, 151)
HSLhsl(275, 71%, 35%)
HSVhsv(275, 83%, 59%)
CMYKcmyk(34.4%, 82.8%, 0%, 40.8%)
CIE-LABlab(28.45, 52.81, -53.18)
CIE-LCHlch(28.45, 74.94, 314.80°)
OKLaboklab(40.74% 0.1087 -0.1515)
OKLCHoklch(40.74% 0.186 305.6)
XYZxyz(11.0996, 5.6259, 29.7733)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631A97 #4E971A
analogous
#251A97 #631A97 #971A8D
triadic
#631A97 #97631A #1A9763
tetradic
#631A97 #97251A #4E971A #1A8D97
square
#631A97 #97251A #4E971A #1A8D97
split-complementary
#631A97 #8D971A #1A9725
monochromatic
#1F082F #411163 #631A97 #8523CB #A24BE0

Accessibility & contrast

On white

9.88
#631A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#631A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631A97
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631A97#FFFFFF#000000##FFFFFF
##631A971.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419A
Deuteranopia (green-blind)
#004395
Tritanopia (blue-blind)
#593C5A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #631a97;
/* rgb */ color: rgb(99, 26, 151);
/* oklch */ color: oklch(40.7% 0.186 305.6);
Tailwind
colors: {
  custom: {
    50: '#9561b7',
    500: '#631a97',
    950: '#000000',
  },
}
SCSS
$custom: #631a97;
$custom-light: #9561b7;
$custom-dark: #000000;
JSON
{
  "hex": "#631a97",
  "rgb": {
    "r": 99,
    "g": 26,
    "b": 151
  },
  "hsl": {
    "h": 275.04,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.40736,
    "c": 0.18649,
    "h": 305.6
  },
  "luminance": 0.05626
}

Semantic roles & 50–950 ramp

primary
#631A97
secondary
#7CC24B
accent
#ED3A85
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #631A97

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

Preview Lab → · Contrast checker → · Palette generator →

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