#631777#631777

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

Color values

HEX#631777
RGBrgb(99, 23, 119)
HSLhsl(288, 68%, 28%)
HSVhsv(288, 81%, 47%)
CMYKcmyk(16.8%, 80.7%, 0%, 53.3%)
CIE-LABlab(25.56, 46.91, -37.86)
CIE-LCHlch(25.56, 60.28, 321.09°)
OKLaboklab(37.92% 0.1185 -0.1065)
OKLCHoklch(37.92% 0.159 318)
XYZxyz(8.7813, 4.5978, 17.8741)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631777 #2B7717
analogous
#331777 #631777 #77175B
triadic
#631777 #776317 #177763
tetradic
#631777 #773317 #2B7717 #175B77
square
#631777 #773317 #2B7717 #175B77
split-complementary
#631777 #5B7717 #177733
monochromatic
#15051A #380D44 #631777 #8E21AA #B531D7

Accessibility & contrast

On white

10.94
#631777 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#631777 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631777
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631777#FFFFFF#000000##FFFFFF
##6317771.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #631777;
/* rgb */ color: rgb(99, 23, 119);
/* oklch */ color: oklch(37.9% 0.159 318.0);
Tailwind
colors: {
  custom: {
    50: '#935e9f',
    500: '#631777',
    950: '#000000',
  },
}
SCSS
$custom: #631777;
$custom-light: #935e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#631777",
  "rgb": {
    "r": 99,
    "g": 23,
    "b": 119
  },
  "hsl": {
    "h": 287.5,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.37916,
    "c": 0.15934,
    "h": 318
  },
  "luminance": 0.04597
}

Semantic roles & 50–950 ramp

primary
#631777
secondary
#55AC3E
accent
#EA3D61
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #631777

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

Preview Lab → · Contrast checker → · Palette generator →

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