#631B93#631B93

#631B93 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.5% C 0.182 H 306.9°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#631B93
RGBrgb(99, 27, 147)
HSLhsl(276, 69%, 34%)
HSVhsv(276, 82%, 58%)
CMYKcmyk(32.7%, 81.6%, 0%, 42.4%)
CIE-LABlab(28.23, 51.55, -51.08)
CIE-LCHlch(28.23, 72.57, 315.27°)
OKLaboklab(40.48% 0.1091 -0.1454)
OKLCHoklch(40.48% 0.182 306.9)
XYZxyz(10.8028, 5.5432, 28.0990)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631B93 #4B931B
analogous
#271B93 #631B93 #931B87
triadic
#631B93 #93631B #1B9363
tetradic
#631B93 #93271B #4B931B #1B8793
square
#631B93 #93271B #4B931B #1B8793
split-complementary
#631B93 #87931B #1B9327
monochromatic
#1D082C #40125F #631B93 #8624C7 #A34BDE

Accessibility & contrast

On white

9.96
#631B93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#631B93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631B93
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631B93#FFFFFF#000000##FFFFFF
##631B931.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004096
Deuteranopia (green-blind)
#004391
Tritanopia (blue-blind)
#5B3B58
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #631b93;
/* rgb */ color: rgb(99, 27, 147);
/* oklch */ color: oklch(40.5% 0.182 306.9);
Tailwind
colors: {
  custom: {
    50: '#9561b4',
    500: '#631b93',
    950: '#000000',
  },
}
SCSS
$custom: #631b93;
$custom-light: #9561b4;
$custom-dark: #000000;
JSON
{
  "hex": "#631b93",
  "rgb": {
    "r": 99,
    "g": 27,
    "b": 147
  },
  "hsl": {
    "h": 276,
    "s": 68.966,
    "l": 34.118
  },
  "oklch": {
    "l": 0.40479,
    "c": 0.18172,
    "h": 306.9
  },
  "luminance": 0.05543
}

Semantic roles & 50–950 ramp

primary
#631B93
secondary
#79C04A
accent
#EC3C82
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #631B93

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

Preview Lab → · Contrast checker → · Palette generator →

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