#631E76#631E76

#631E76 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.5% C 0.150 H 318.0°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#631E76
RGBrgb(99, 30, 118)
HSLhsl(287, 59%, 29%)
HSVhsv(287, 75%, 46%)
CMYKcmyk(16.1%, 74.6%, 0%, 53.7%)
CIE-LABlab(26.42, 44.04, -35.84)
CIE-LCHlch(26.42, 56.78, 320.86°)
OKLaboklab(38.51% 0.1117 -0.1006)
OKLCHoklch(38.51% 0.15 318)
XYZxyz(8.8794, 4.8896, 17.6121)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631E76 #31761E
analogous
#371E76 #631E76 #761E5D
triadic
#631E76 #76631E #1E7663
tetradic
#631E76 #76371E #31761E #1E5D76
square
#631E76 #76371E #31761E #1E5D76
split-complementary
#631E76 #5D761E #1E7637
monochromatic
#140618 #3A1245 #631E76 #8C2AA7 #B040CE

Accessibility & contrast

On white

10.62
#631E76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#631E76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631E76
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631E76#FFFFFF#000000##FFFFFF
##631E761.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A78
Deuteranopia (green-blind)
#224174
Tritanopia (blue-blind)
#623048
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #631e76;
/* rgb */ color: rgb(99, 30, 118);
/* oklch */ color: oklch(38.5% 0.150 318.0);
Tailwind
colors: {
  custom: {
    50: '#93619e',
    500: '#631e76',
    950: '#000000',
  },
}
SCSS
$custom: #631e76;
$custom-light: #93619e;
$custom-dark: #000000;
JSON
{
  "hex": "#631e76",
  "rgb": {
    "r": 99,
    "g": 30,
    "b": 118
  },
  "hsl": {
    "h": 287.045,
    "s": 59.459,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38505,
    "c": 0.15035,
    "h": 318
  },
  "luminance": 0.04889
}

Semantic roles & 50–950 ramp

primary
#631E76
secondary
#5CAA46
accent
#E34567
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D050E
muted
#7E7A7E

Preview Lab

Preview with #631E76

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

Preview Lab → · Contrast checker → · Palette generator →

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