#631877#631877

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

Color values

HEX#631877
RGBrgb(99, 24, 119)
HSLhsl(287, 66%, 28%)
HSVhsv(287, 80%, 47%)
CMYKcmyk(16.8%, 79.8%, 0%, 53.3%)
CIE-LABlab(25.68, 46.56, -37.66)
CIE-LCHlch(25.68, 59.89, 321.03°)
OKLaboklab(38% 0.1176 -0.1059)
OKLCHoklch(38% 0.158 318)
XYZxyz(8.8015, 4.6382, 17.8808)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631877 #2C7718
analogous
#331877 #631877 #77185C
triadic
#631877 #776318 #187763
tetradic
#631877 #773318 #2C7718 #185C77
square
#631877 #773318 #2C7718 #185C77
split-complementary
#631877 #5C7718 #187733
monochromatic
#150519 #390E44 #631877 #8D22AA #B433D6

Accessibility & contrast

On white

10.89
#631877 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #631877
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631877#FFFFFF#000000##FFFFFF
##6318771.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #631877;
/* rgb */ color: rgb(99, 24, 119);
/* oklch */ color: oklch(38.0% 0.158 318.0);
Tailwind
colors: {
  custom: {
    50: '#935e9f',
    500: '#631877',
    950: '#000000',
  },
}
SCSS
$custom: #631877;
$custom-light: #935e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#631877",
  "rgb": {
    "r": 99,
    "g": 24,
    "b": 119
  },
  "hsl": {
    "h": 287.368,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38002,
    "c": 0.15829,
    "h": 318
  },
  "luminance": 0.04638
}

Semantic roles & 50–950 ramp

primary
#631877
secondary
#56AC3F
accent
#E93E62
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #631877

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

Preview Lab → · Contrast checker → · Palette generator →

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