#631F76#631F76

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

Color values

HEX#631F76
RGBrgb(99, 31, 118)
HSLhsl(287, 58%, 29%)
HSVhsv(287, 74%, 46%)
CMYKcmyk(16.1%, 73.7%, 0%, 53.7%)
CIE-LABlab(26.57, 43.62, -35.60)
CIE-LCHlch(26.57, 56.30, 320.78°)
OKLaboklab(38.61% 0.1106 -0.0999)
OKLCHoklch(38.61% 0.149 317.9)
XYZxyz(8.9051, 4.9410, 17.6207)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631F76 #32761F
analogous
#381F76 #631F76 #761F5E
triadic
#631F76 #76631F #1F7663
tetradic
#631F76 #76381F #32761F #1F5E76
square
#631F76 #76381F #32761F #1F5E76
split-complementary
#631F76 #5E761F #1F7638
monochromatic
#140618 #3A1246 #631F76 #8C2CA6 #AF42CD

Accessibility & contrast

On white

10.56
#631F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#631F76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631F76
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631F76#FFFFFF#000000##FFFFFF
##631F761.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #631f76;
/* rgb */ color: rgb(99, 31, 118);
/* oklch */ color: oklch(38.6% 0.149 317.9);
Tailwind
colors: {
  custom: {
    50: '#92629e',
    500: '#631f76',
    950: '#000000',
  },
}
SCSS
$custom: #631f76;
$custom-light: #92629e;
$custom-dark: #000000;
JSON
{
  "hex": "#631f76",
  "rgb": {
    "r": 99,
    "g": 31,
    "b": 118
  },
  "hsl": {
    "h": 286.897,
    "s": 58.389,
    "l": 29.216
  },
  "oklch": {
    "l": 0.3861,
    "c": 0.14908,
    "h": 317.9
  },
  "luminance": 0.04941
}

Semantic roles & 50–950 ramp

primary
#631F76
secondary
#5DAA47
accent
#E24668
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D050E
muted
#7E7A7E

Preview Lab

Preview with #631F76

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

Preview Lab → · Contrast checker → · Palette generator →

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