#631B72#631B72

#631B72 is a dark, vivid purple. Relative luminance 0.047; OKLCH L 37.9% C 0.150 H 320.1°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#631B72
RGBrgb(99, 27, 114)
HSLhsl(290, 62%, 28%)
HSVhsv(290, 76%, 45%)
CMYKcmyk(13.2%, 76.3%, 0%, 55.3%)
CIE-LABlab(25.72, 44.42, -34.40)
CIE-LCHlch(25.72, 56.19, 322.25°)
OKLaboklab(37.92% 0.1152 -0.0964)
OKLCHoklch(37.92% 0.15 320.1)
XYZxyz(8.5744, 4.6519, 16.3626)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631B72 #2A721B
analogous
#371B72 #631B72 #721B56
triadic
#631B72 #72631B #1B7263
tetradic
#631B72 #72371B #2A721B #1B5672
square
#631B72 #72371B #2A721B #1B5672
split-complementary
#631B72 #56721B #1B7237
monochromatic
#150619 #380F41 #631B72 #8E27A3 #B638D0

Accessibility & contrast

On white

10.88
#631B72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#631B72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631B72
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631B72#FFFFFF#000000##FFFFFF
##631B721.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003874
Deuteranopia (green-blind)
#233F70
Tritanopia (blue-blind)
#632C45
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #631b72;
/* rgb */ color: rgb(99, 27, 114);
/* oklch */ color: oklch(37.9% 0.150 320.1);
Tailwind
colors: {
  custom: {
    50: '#935f9b',
    500: '#631b72',
    950: '#000000',
  },
}
SCSS
$custom: #631b72;
$custom-light: #935f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#631b72",
  "rgb": {
    "r": 99,
    "g": 27,
    "b": 114
  },
  "hsl": {
    "h": 289.655,
    "s": 61.702,
    "l": 27.647
  },
  "oklch": {
    "l": 0.37919,
    "c": 0.15025,
    "h": 320.1
  },
  "luminance": 0.04651
}

Semantic roles & 50–950 ramp

primary
#631B72
secondary
#53A742
accent
#E5435F
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #631B72

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

Preview Lab → · Contrast checker → · Palette generator →

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