#631B79#631B79

#631B79 is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.4% C 0.157 H 316.9°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#631B79
RGBrgb(99, 27, 121)
HSLhsl(286, 64%, 29%)
HSVhsv(286, 78%, 47%)
CMYKcmyk(18.2%, 77.7%, 0%, 52.5%)
CIE-LABlab(26.21, 45.87, -38.08)
CIE-LCHlch(26.21, 59.62, 320.30°)
OKLaboklab(38.42% 0.1145 -0.1072)
OKLCHoklch(38.42% 0.157 316.9)
XYZxyz(8.9882, 4.8174, 18.5418)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631B79 #31791B
analogous
#341B79 #631B79 #791B60
triadic
#631B79 #79631B #1B7963
tetradic
#631B79 #79341B #31791B #1B6079
square
#631B79 #79341B #31791B #1B6079
split-complementary
#631B79 #60791B #1B7934
monochromatic
#140619 #3A1047 #631B79 #8C26AB #B03BD3

Accessibility & contrast

On white

10.70
#631B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#631B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631B79
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631B79#FFFFFF#000000##FFFFFF
##631B791.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7C
Deuteranopia (green-blind)
#1C4077
Tritanopia (blue-blind)
#622F49
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #631b79;
/* rgb */ color: rgb(99, 27, 121);
/* oklch */ color: oklch(38.4% 0.157 316.9);
Tailwind
colors: {
  custom: {
    50: '#9360a0',
    500: '#631b79',
    950: '#000000',
  },
}
SCSS
$custom: #631b79;
$custom-light: #9360a0;
$custom-dark: #000000;
JSON
{
  "hex": "#631b79",
  "rgb": {
    "r": 99,
    "g": 27,
    "b": 121
  },
  "hsl": {
    "h": 285.957,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38422,
    "c": 0.15682,
    "h": 316.9
  },
  "luminance": 0.04817
}

Semantic roles & 50–950 ramp

primary
#631B79
secondary
#5CAD43
accent
#E74168
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0D050F
muted
#7E797E

Preview Lab

Preview with #631B79

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

Preview Lab → · Contrast checker → · Palette generator →

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