#631372#631372

#631372 is a dark, vivid purple. Relative luminance 0.043; OKLCH L 37.2% C 0.159 H 320.6°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#631372
RGBrgb(99, 19, 114)
HSLhsl(291, 71%, 26%)
HSVhsv(291, 83%, 45%)
CMYKcmyk(13.2%, 83.3%, 0%, 55.3%)
CIE-LABlab(24.75, 47.22, -35.97)
CIE-LCHlch(24.75, 59.36, 322.71°)
OKLaboklab(37.23% 0.1227 -0.1009)
OKLCHoklch(37.23% 0.159 320.6)
XYZxyz(8.4154, 4.3338, 16.3096)
Luminance0.0433 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631372 #227213
analogous
#331372 #631372 #721351
triadic
#631372 #726313 #137263
tetradic
#631372 #723313 #227213 #135172
square
#631372 #723313 #227213 #135172
split-complementary
#631372 #517213 #137233
monochromatic
#17041A #350A3E #631372 #911CA6 #BE25DB

Accessibility & contrast

On white

11.25
#631372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#631372 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631372
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631372#FFFFFF#000000##FFFFFF
##6313721.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003574
Deuteranopia (green-blind)
#1E3D70
Tritanopia (blue-blind)
#632843
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #631372;
/* rgb */ color: rgb(99, 19, 114);
/* oklch */ color: oklch(37.2% 0.159 320.6);
Tailwind
colors: {
  custom: {
    50: '#935c9b',
    500: '#631372',
    950: '#000000',
  },
}
SCSS
$custom: #631372;
$custom-light: #935c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#631372",
  "rgb": {
    "r": 99,
    "g": 19,
    "b": 114
  },
  "hsl": {
    "h": 290.526,
    "s": 71.429,
    "l": 26.078
  },
  "oklch": {
    "l": 0.37229,
    "c": 0.15885,
    "h": 320.6
  },
  "luminance": 0.04333
}

Semantic roles & 50–950 ramp

primary
#631372
secondary
#4AA938
accent
#EE3A56
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #631372

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

Preview Lab → · Contrast checker → · Palette generator →

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