#631A9D#631A9D

#631A9D is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.3% C 0.192 H 303.8°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#631A9D
RGBrgb(99, 26, 157)
HSLhsl(273, 72%, 36%)
HSVhsv(273, 83%, 62%)
CMYKcmyk(36.9%, 83.4%, 0%, 38.4%)
CIE-LABlab(28.97, 54.18, -56.00)
CIE-LCHlch(28.97, 77.92, 314.05°)
OKLaboklab(41.26% 0.1069 -0.1598)
OKLCHoklch(41.26% 0.192 303.8)
XYZxyz(11.5994, 5.8258, 32.4052)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631A9D #549D1A
analogous
#211A9D #631A9D #9D1A95
triadic
#631A9D #9D631A #1A9D63
tetradic
#631A9D #9D211A #549D1A #1A959D
square
#631A9D #9D211A #549D1A #1A959D
split-complementary
#631A9D #959D1A #1A9D21
monochromatic
#210934 #421168 #631A9D #8423D2 #A14FE2

Accessibility & contrast

On white

9.70
#631A9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #631A9D
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631A9D#FFFFFF#000000##FFFFFF
##631A9D1.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A0
Deuteranopia (green-blind)
#00449B
Tritanopia (blue-blind)
#573F5D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #631a9d;
/* rgb */ color: rgb(99, 26, 157);
/* oklch */ color: oklch(41.3% 0.192 303.8);
Tailwind
colors: {
  custom: {
    50: '#9661bb',
    500: '#631a9d',
    950: '#000000',
  },
}
SCSS
$custom: #631a9d;
$custom-light: #9661bb;
$custom-dark: #000000;
JSON
{
  "hex": "#631a9d",
  "rgb": {
    "r": 99,
    "g": 26,
    "b": 157
  },
  "hsl": {
    "h": 273.435,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41258,
    "c": 0.19225,
    "h": 303.8
  },
  "luminance": 0.05826
}

Semantic roles & 50–950 ramp

primary
#631A9D
secondary
#83C44E
accent
#EE398A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #631A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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