#631B97#631B97

#631B97 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.8% C 0.186 H 305.6°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#631B97
RGBrgb(99, 27, 151)
HSLhsl(275, 70%, 35%)
HSVhsv(275, 82%, 59%)
CMYKcmyk(34.4%, 82.1%, 0%, 40.8%)
CIE-LABlab(28.57, 52.46, -52.98)
CIE-LCHlch(28.57, 74.56, 314.72°)
OKLaboklab(40.82% 0.1079 -0.151)
OKLCHoklch(40.82% 0.186 305.6)
XYZxyz(11.1222, 5.6710, 29.7808)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631B97 #4F971B
analogous
#251B97 #631B97 #971B8D
triadic
#631B97 #97631B #1B9763
tetradic
#631B97 #97251B #4F971B #1B8D97
square
#631B97 #97251B #4F971B #1B8D97
split-complementary
#631B97 #8D971B #1B9725
monochromatic
#1F082F #411263 #631B97 #8524CB #A24DDF

Accessibility & contrast

On white

9.84
#631B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#631B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631B97
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631B97#FFFFFF#000000##FFFFFF
##631B971.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419A
Deuteranopia (green-blind)
#004495
Tritanopia (blue-blind)
#593D5A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #631b97;
/* rgb */ color: rgb(99, 27, 151);
/* oklch */ color: oklch(40.8% 0.186 305.6);
Tailwind
colors: {
  custom: {
    50: '#9561b6',
    500: '#631b97',
    950: '#000000',
  },
}
SCSS
$custom: #631b97;
$custom-light: #9561b6;
$custom-dark: #000000;
JSON
{
  "hex": "#631b97",
  "rgb": {
    "r": 99,
    "g": 27,
    "b": 151
  },
  "hsl": {
    "h": 274.839,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.40818,
    "c": 0.18559,
    "h": 305.6
  },
  "luminance": 0.05671
}

Semantic roles & 50–950 ramp

primary
#631B97
secondary
#7DC14C
accent
#EC3B86
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #631B97

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

Preview Lab → · Contrast checker → · Palette generator →

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