#631977#631977

#631977 is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.1% C 0.157 H 317.9°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#631977
RGBrgb(99, 25, 119)
HSLhsl(287, 65%, 28%)
HSVhsv(287, 79%, 47%)
CMYKcmyk(16.8%, 79%, 0%, 53.3%)
CIE-LABlab(25.80, 46.20, -37.46)
CIE-LCHlch(25.80, 59.48, 320.96°)
OKLaboklab(38.09% 0.1167 -0.1054)
OKLCHoklch(38.09% 0.157 317.9)
XYZxyz(8.8225, 4.6802, 17.8878)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631977 #2D7719
analogous
#341977 #631977 #77195C
triadic
#631977 #776319 #197763
tetradic
#631977 #773419 #2D7719 #195C77
square
#631977 #773419 #2D7719 #195C77
split-complementary
#631977 #5C7719 #197734
monochromatic
#150519 #390E44 #631977 #8D24AA #B336D5

Accessibility & contrast

On white

10.85
#631977 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#631977 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631977
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631977#FFFFFF#000000##FFFFFF
##6319771.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397A
Deuteranopia (green-blind)
#1D3F75
Tritanopia (blue-blind)
#622D47
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #631977;
/* rgb */ color: rgb(99, 25, 119);
/* oklch */ color: oklch(38.1% 0.157 317.9);
Tailwind
colors: {
  custom: {
    50: '#935f9f',
    500: '#631977',
    950: '#000000',
  },
}
SCSS
$custom: #631977;
$custom-light: #935f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#631977",
  "rgb": {
    "r": 99,
    "g": 25,
    "b": 119
  },
  "hsl": {
    "h": 287.234,
    "s": 65.278,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38091,
    "c": 0.1572,
    "h": 317.9
  },
  "luminance": 0.0468
}

Semantic roles & 50–950 ramp

primary
#631977
secondary
#57AC40
accent
#E84063
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #631977

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

Preview Lab → · Contrast checker → · Palette generator →

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