#631A96#631A96

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

Color values

HEX#631A96
RGBrgb(99, 26, 150)
HSLhsl(275, 70%, 35%)
HSVhsv(275, 83%, 59%)
CMYKcmyk(34%, 82.7%, 0%, 41.2%)
CIE-LABlab(28.36, 52.58, -52.70)
CIE-LCHlch(28.36, 74.45, 314.93°)
OKLaboklab(40.65% 0.109 -0.1501)
OKLCHoklch(40.65% 0.186 306)
XYZxyz(11.0188, 5.5935, 29.3474)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631A96 #4D961A
analogous
#251A96 #631A96 #961A8B
triadic
#631A96 #96631A #1A9663
tetradic
#631A96 #96251A #4D961A #1A8B96
square
#631A96 #96251A #4D961A #1A8B96
split-complementary
#631A96 #8B961A #1A9625
monochromatic
#1E082E #411162 #631A96 #8523CA #A24BE0

Accessibility & contrast

On white

9.91
#631A96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#631A96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631A96
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631A96#FFFFFF#000000##FFFFFF
##631A961.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004199
Deuteranopia (green-blind)
#004394
Tritanopia (blue-blind)
#5A3C59
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #631a96;
/* rgb */ color: rgb(99, 26, 150);
/* oklch */ color: oklch(40.6% 0.186 306.0);
Tailwind
colors: {
  custom: {
    50: '#9561b6',
    500: '#631a96',
    950: '#000000',
  },
}
SCSS
$custom: #631a96;
$custom-light: #9561b6;
$custom-dark: #000000;
JSON
{
  "hex": "#631a96",
  "rgb": {
    "r": 99,
    "g": 26,
    "b": 150
  },
  "hsl": {
    "h": 275.323,
    "s": 70.455,
    "l": 34.51
  },
  "oklch": {
    "l": 0.4065,
    "c": 0.18552,
    "h": 306
  },
  "luminance": 0.05593
}

Semantic roles & 50–950 ramp

primary
#631A96
secondary
#7BC24A
accent
#ED3B84
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #631A96

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

Preview Lab → · Contrast checker → · Palette generator →

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