#631A9E#631A9E

#631A9E is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.3% C 0.193 H 303.5°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#631A9E
RGBrgb(99, 26, 158)
HSLhsl(273, 72%, 36%)
HSVhsv(273, 84%, 62%)
CMYKcmyk(37.3%, 83.5%, 0%, 38%)
CIE-LABlab(29.06, 54.41, -56.46)
CIE-LCHlch(29.06, 78.41, 313.94°)
OKLaboklab(41.35% 0.1065 -0.1612)
OKLCHoklch(41.35% 0.193 303.5)
XYZxyz(11.6851, 5.8601, 32.8566)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631A9E #559E1A
analogous
#211A9E #631A9E #9E1A97
triadic
#631A9E #9E631A #1A9E63
tetradic
#631A9E #9E211A #559E1A #1A979E
square
#631A9E #9E211A #559E1A #1A979E
split-complementary
#631A9E #979E1A #1A9E21
monochromatic
#210935 #421169 #631A9E #8423D3 #A150E2

Accessibility & contrast

On white

9.67
#631A9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#631A9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631A9E
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631A9E#FFFFFF#000000##FFFFFF
##631A9E1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A1
Deuteranopia (green-blind)
#00449C
Tritanopia (blue-blind)
#573F5E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #631a9e;
/* rgb */ color: rgb(99, 26, 158);
/* oklch */ color: oklch(41.3% 0.193 303.5);
Tailwind
colors: {
  custom: {
    50: '#9661bc',
    500: '#631a9e',
    950: '#000000',
  },
}
SCSS
$custom: #631a9e;
$custom-light: #9661bc;
$custom-dark: #000000;
JSON
{
  "hex": "#631a9e",
  "rgb": {
    "r": 99,
    "g": 26,
    "b": 158
  },
  "hsl": {
    "h": 273.182,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.41346,
    "c": 0.19322,
    "h": 303.5
  },
  "luminance": 0.0586
}

Semantic roles & 50–950 ramp

primary
#631A9E
secondary
#84C54F
accent
#EE398A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #631A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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