#631776#631776

#631776 is a dark, vivid purple. Relative luminance 0.046; OKLCH L 37.8% C 0.158 H 318.5°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#631776
RGBrgb(99, 23, 118)
HSLhsl(288, 67%, 28%)
HSVhsv(288, 81%, 46%)
CMYKcmyk(16.1%, 80.5%, 0%, 53.7%)
CIE-LABlab(25.48, 46.71, -37.34)
CIE-LCHlch(25.48, 59.80, 321.36°)
OKLaboklab(37.84% 0.1187 -0.105)
OKLCHoklch(37.84% 0.158 318.5)
XYZxyz(8.7216, 4.5739, 17.5595)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631776 #2A7617
analogous
#331776 #631776 #761759
triadic
#631776 #766317 #177663
tetradic
#631776 #763317 #2A7617 #175976
square
#631776 #763317 #2A7617 #175976
split-complementary
#631776 #597617 #177633
monochromatic
#15051A #380D43 #631776 #8E21A9 #B631D7

Accessibility & contrast

On white

10.97
#631776 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#631776 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631776
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631776#FFFFFF#000000##FFFFFF
##6317761.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003879
Deuteranopia (green-blind)
#1C3F74
Tritanopia (blue-blind)
#632C46
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #631776;
/* rgb */ color: rgb(99, 23, 118);
/* oklch */ color: oklch(37.8% 0.158 318.5);
Tailwind
colors: {
  custom: {
    50: '#935e9e',
    500: '#631776',
    950: '#000000',
  },
}
SCSS
$custom: #631776;
$custom-light: #935e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#631776",
  "rgb": {
    "r": 99,
    "g": 23,
    "b": 118
  },
  "hsl": {
    "h": 288,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.37842,
    "c": 0.15843,
    "h": 318.5
  },
  "luminance": 0.04573
}

Semantic roles & 50–950 ramp

primary
#631776
secondary
#53AB3E
accent
#EA3E60
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #631776

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

Preview Lab → · Contrast checker → · Palette generator →

#631776 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva