#631A77#631A77

#631A77 is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.2% C 0.156 H 317.8°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#631A77
RGBrgb(99, 26, 119)
HSLhsl(287, 64%, 28%)
HSVhsv(287, 78%, 47%)
CMYKcmyk(16.8%, 78.2%, 0%, 53.3%)
CIE-LABlab(25.93, 45.83, -37.25)
CIE-LCHlch(25.93, 59.06, 320.89°)
OKLaboklab(38.18% 0.1157 -0.1048)
OKLCHoklch(38.18% 0.156 317.8)
XYZxyz(8.8443, 4.7237, 17.8951)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631A77 #2E771A
analogous
#341A77 #631A77 #771A5C
triadic
#631A77 #77631A #1A7763
tetradic
#631A77 #77341A #2E771A #1A5C77
square
#631A77 #77341A #2E771A #1A5C77
split-complementary
#631A77 #5C771A #1A7734
monochromatic
#150519 #390F45 #631A77 #8D25A9 #B238D3

Accessibility & contrast

On white

10.80
#631A77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#631A77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631A77
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631A77#FFFFFF#000000##FFFFFF
##631A771.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #631a77;
/* rgb */ color: rgb(99, 26, 119);
/* oklch */ color: oklch(38.2% 0.156 317.8);
Tailwind
colors: {
  custom: {
    50: '#935f9f',
    500: '#631a77',
    950: '#000000',
  },
}
SCSS
$custom: #631a77;
$custom-light: #935f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#631a77",
  "rgb": {
    "r": 99,
    "g": 26,
    "b": 119
  },
  "hsl": {
    "h": 287.097,
    "s": 64.138,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38182,
    "c": 0.15608,
    "h": 317.8
  },
  "luminance": 0.04723
}

Semantic roles & 50–950 ramp

primary
#631A77
secondary
#58AC41
accent
#E74164
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #631A77

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

Preview Lab → · Contrast checker → · Palette generator →

#631A77 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva