#631971#631971

#631971 is a dark, vivid purple. Relative luminance 0.045; OKLCH L 37.7% C 0.152 H 320.7°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#631971
RGBrgb(99, 25, 113)
HSLhsl(290, 64%, 27%)
HSVhsv(290, 78%, 44%)
CMYKcmyk(12.4%, 77.9%, 0%, 55.7%)
CIE-LABlab(25.38, 44.99, -34.30)
CIE-LCHlch(25.38, 56.57, 322.68°)
OKLaboklab(37.66% 0.1174 -0.0961)
OKLCHoklch(37.66% 0.152 320.7)
XYZxyz(8.4735, 4.5406, 16.0497)
Luminance0.0454 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631971 #277119
analogous
#371971 #631971 #711953
triadic
#631971 #716319 #197163
tetradic
#631971 #713719 #277119 #195371
square
#631971 #713719 #277119 #195371
split-complementary
#631971 #537119 #197137
monochromatic
#160619 #370E3F #631971 #8F24A3 #B833D2

Accessibility & contrast

On white

11.01
#631971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#631971 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631971
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631971#FFFFFF#000000##FFFFFF
##6319711.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003773
Deuteranopia (green-blind)
#233F6F
Tritanopia (blue-blind)
#642A44
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #631971;
/* rgb */ color: rgb(99, 25, 113);
/* oklch */ color: oklch(37.7% 0.152 320.7);
Tailwind
colors: {
  custom: {
    50: '#935f9a',
    500: '#631971',
    950: '#000000',
  },
}
SCSS
$custom: #631971;
$custom-light: #935f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#631971",
  "rgb": {
    "r": 99,
    "g": 25,
    "b": 113
  },
  "hsl": {
    "h": 290.455,
    "s": 63.768,
    "l": 27.059
  },
  "oklch": {
    "l": 0.37659,
    "c": 0.15168,
    "h": 320.7
  },
  "luminance": 0.0454
}

Semantic roles & 50–950 ramp

primary
#631971
secondary
#50A640
accent
#E7415B
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #631971

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

Preview Lab → · Contrast checker → · Palette generator →

#631971 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva