#631E77#631E77

#631E77 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.6% C 0.151 H 317.5°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#631E77
RGBrgb(99, 30, 119)
HSLhsl(287, 60%, 29%)
HSVhsv(287, 75%, 47%)
CMYKcmyk(16.8%, 74.8%, 0%, 53.3%)
CIE-LABlab(26.49, 44.25, -36.36)
CIE-LCHlch(26.49, 57.27, 320.59°)
OKLaboklab(38.58% 0.1116 -0.1022)
OKLCHoklch(38.58% 0.151 317.5)
XYZxyz(8.9392, 4.9135, 17.9267)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631E77 #32771E
analogous
#371E77 #631E77 #771E5F
triadic
#631E77 #77631E #1E7763
tetradic
#631E77 #77371E #32771E #1E5F77
square
#631E77 #77371E #32771E #1E5F77
split-complementary
#631E77 #5F771E #1E7737
monochromatic
#140618 #3A1246 #631E77 #8C2AA8 #AF40CF

Accessibility & contrast

On white

10.59
#631E77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#631E77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631E77
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631E77#FFFFFF#000000##FFFFFF
##631E771.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7A
Deuteranopia (green-blind)
#214175
Tritanopia (blue-blind)
#623048
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #631e77;
/* rgb */ color: rgb(99, 30, 119);
/* oklch */ color: oklch(38.6% 0.151 317.5);
Tailwind
colors: {
  custom: {
    50: '#93619f',
    500: '#631e77',
    950: '#000000',
  },
}
SCSS
$custom: #631e77;
$custom-light: #93619f;
$custom-dark: #000000;
JSON
{
  "hex": "#631e77",
  "rgb": {
    "r": 99,
    "g": 30,
    "b": 119
  },
  "hsl": {
    "h": 286.517,
    "s": 59.732,
    "l": 29.216
  },
  "oklch": {
    "l": 0.38576,
    "c": 0.15132,
    "h": 317.5
  },
  "luminance": 0.04913
}

Semantic roles & 50–950 ramp

primary
#631E77
secondary
#5DAB46
accent
#E34568
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D050E
muted
#7E7A7E

Preview Lab

Preview with #631E77

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

Preview Lab → · Contrast checker → · Palette generator →

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