#631F71#631F71

#631F71 is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.3% C 0.144 H 320.3°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#631F71
RGBrgb(99, 31, 113)
HSLhsl(290, 57%, 28%)
HSVhsv(290, 73%, 44%)
CMYKcmyk(12.4%, 72.6%, 0%, 55.7%)
CIE-LABlab(26.23, 42.58, -32.94)
CIE-LCHlch(26.23, 53.83, 322.27°)
OKLaboklab(38.26% 0.1109 -0.0922)
OKLCHoklch(38.26% 0.144 320.3)
XYZxyz(8.6159, 4.8253, 16.0971)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631F71 #2D711F
analogous
#3A1F71 #631F71 #711F56
triadic
#631F71 #71631F #1F7163
tetradic
#631F71 #713A1F #2D711F #1F5671
square
#631F71 #713A1F #2D711F #1F5671
split-complementary
#631F71 #56711F #1F713A
monochromatic
#150718 #391241 #631F71 #8D2CA1 #B340CB

Accessibility & contrast

On white

10.69
#631F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #631F71
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631F71#FFFFFF#000000##FFFFFF
##631F711.0010.691.9710.69
#FFFFFF10.691.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003973
Deuteranopia (green-blind)
#27406F
Tritanopia (blue-blind)
#632E45
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #631f71;
/* rgb */ color: rgb(99, 31, 113);
/* oklch */ color: oklch(38.3% 0.144 320.3);
Tailwind
colors: {
  custom: {
    50: '#92619a',
    500: '#631f71',
    950: '#000000',
  },
}
SCSS
$custom: #631f71;
$custom-light: #92619a;
$custom-dark: #000000;
JSON
{
  "hex": "#631f71",
  "rgb": {
    "r": 99,
    "g": 31,
    "b": 113
  },
  "hsl": {
    "h": 289.756,
    "s": 56.944,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38264,
    "c": 0.14423,
    "h": 320.3
  },
  "luminance": 0.04825
}

Semantic roles & 50–950 ramp

primary
#631F71
secondary
#57A547
accent
#E04862
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D050E
muted
#7E7A7E

Preview Lab

Preview with #631F71

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

Preview Lab → · Contrast checker → · Palette generator →

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