#631D77#631D77

#631D77 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.5% C 0.153 H 317.6°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#631D77
RGBrgb(99, 29, 119)
HSLhsl(287, 61%, 29%)
HSVhsv(287, 76%, 47%)
CMYKcmyk(16.8%, 75.6%, 0%, 53.3%)
CIE-LABlab(26.34, 44.66, -36.59)
CIE-LCHlch(26.34, 57.74, 320.67°)
OKLaboklab(38.47% 0.1127 -0.1028)
OKLCHoklch(38.47% 0.153 317.6)
XYZxyz(8.9142, 4.8637, 17.9184)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631D77 #31771D
analogous
#361D77 #631D77 #771D5E
triadic
#631D77 #77631D #1D7763
tetradic
#631D77 #77361D #31771D #1D5E77
square
#631D77 #77361D #31771D #1D5E77
split-complementary
#631D77 #5E771D #1D7736
monochromatic
#140619 #3A1146 #631D77 #8C29A8 #B03ED0

Accessibility & contrast

On white

10.65
#631D77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#631D77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631D77
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631D77#FFFFFF#000000##FFFFFF
##631D771.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7A
Deuteranopia (green-blind)
#204075
Tritanopia (blue-blind)
#622F48
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #631d77;
/* rgb */ color: rgb(99, 29, 119);
/* oklch */ color: oklch(38.5% 0.153 317.6);
Tailwind
colors: {
  custom: {
    50: '#93619f',
    500: '#631d77',
    950: '#000000',
  },
}
SCSS
$custom: #631d77;
$custom-light: #93619f;
$custom-dark: #000000;
JSON
{
  "hex": "#631d77",
  "rgb": {
    "r": 99,
    "g": 29,
    "b": 119
  },
  "hsl": {
    "h": 286.667,
    "s": 60.811,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38473,
    "c": 0.15255,
    "h": 317.6
  },
  "luminance": 0.04863
}

Semantic roles & 50–950 ramp

primary
#631D77
secondary
#5CAB45
accent
#E44467
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #631D77

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

Preview Lab → · Contrast checker → · Palette generator →

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