#631A91#631A91

#631A91 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.2% C 0.181 H 307.6°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#631A91
RGBrgb(99, 26, 145)
HSLhsl(277, 70%, 34%)
HSVhsv(277, 82%, 57%)
CMYKcmyk(31.7%, 82.1%, 0%, 43.1%)
CIE-LABlab(27.94, 51.45, -50.31)
CIE-LCHlch(27.94, 71.96, 315.64°)
OKLaboklab(40.23% 0.1104 -0.1431)
OKLCHoklch(40.23% 0.181 307.6)
XYZxyz(10.6247, 5.4359, 27.2721)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631A91 #48911A
analogous
#271A91 #631A91 #911A83
triadic
#631A91 #91631A #1A9163
tetradic
#631A91 #91271A #48911A #1A8391
square
#631A91 #91271A #48911A #1A8391
split-complementary
#631A91 #83911A #1A9127
monochromatic
#1C0729 #40115D #631A91 #8623C5 #A447DE

Accessibility & contrast

On white

10.06
#631A91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#631A91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631A91
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631A91#FFFFFF#000000##FFFFFF
##631A911.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004094
Deuteranopia (green-blind)
#00438F
Tritanopia (blue-blind)
#5B3A56
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #631a91;
/* rgb */ color: rgb(99, 26, 145);
/* oklch */ color: oklch(40.2% 0.181 307.6);
Tailwind
colors: {
  custom: {
    50: '#9461b2',
    500: '#631a91',
    950: '#000000',
  },
}
SCSS
$custom: #631a91;
$custom-light: #9461b2;
$custom-dark: #000000;
JSON
{
  "hex": "#631a91",
  "rgb": {
    "r": 99,
    "g": 26,
    "b": 145
  },
  "hsl": {
    "h": 276.807,
    "s": 69.591,
    "l": 33.529
  },
  "oklch": {
    "l": 0.40226,
    "c": 0.18073,
    "h": 307.6
  },
  "luminance": 0.05436
}

Semantic roles & 50–950 ramp

primary
#631A91
secondary
#76C047
accent
#EC3B80
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #631A91

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

Preview Lab → · Contrast checker → · Palette generator →

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