#631976#631976

#631976 is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.0% C 0.156 H 318.4°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#631976
RGBrgb(99, 25, 118)
HSLhsl(288, 65%, 28%)
HSVhsv(288, 79%, 46%)
CMYKcmyk(16.1%, 78.8%, 0%, 53.7%)
CIE-LABlab(25.73, 46.00, -36.94)
CIE-LCHlch(25.73, 58.99, 321.23°)
OKLaboklab(38.02% 0.1168 -0.1038)
OKLCHoklch(38.02% 0.156 318.4)
XYZxyz(8.7628, 4.6563, 17.5732)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631976 #2C7619
analogous
#341976 #631976 #76195A
triadic
#631976 #766319 #197663
tetradic
#631976 #763419 #2C7619 #195A76
square
#631976 #763419 #2C7619 #195A76
split-complementary
#631976 #5A7619 #197634
monochromatic
#150519 #390E43 #631976 #8D24A8 #B435D4

Accessibility & contrast

On white

10.87
#631976 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#631976 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631976
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631976#FFFFFF#000000##FFFFFF
##6319761.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003879
Deuteranopia (green-blind)
#1E3F74
Tritanopia (blue-blind)
#632D47
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #631976;
/* rgb */ color: rgb(99, 25, 118);
/* oklch */ color: oklch(38.0% 0.156 318.4);
Tailwind
colors: {
  custom: {
    50: '#935f9e',
    500: '#631976',
    950: '#000000',
  },
}
SCSS
$custom: #631976;
$custom-light: #935f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#631976",
  "rgb": {
    "r": 99,
    "g": 25,
    "b": 118
  },
  "hsl": {
    "h": 287.742,
    "s": 65.035,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38017,
    "c": 0.15628,
    "h": 318.4
  },
  "luminance": 0.04656
}

Semantic roles & 50–950 ramp

primary
#631976
secondary
#56AB40
accent
#E84062
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #631976

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

Preview Lab → · Contrast checker → · Palette generator →

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