#631D72#631D72

#631D72 is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.1% C 0.148 H 319.9°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#631D72
RGBrgb(99, 29, 114)
HSLhsl(289, 59%, 28%)
HSVhsv(289, 75%, 45%)
CMYKcmyk(13.2%, 74.6%, 0%, 55.3%)
CIE-LABlab(26.00, 43.62, -33.95)
CIE-LCHlch(26.00, 55.28, 322.11°)
OKLaboklab(38.12% 0.1131 -0.0951)
OKLCHoklch(38.12% 0.148 319.9)
XYZxyz(8.6218, 4.7467, 16.3784)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631D72 #2C721D
analogous
#381D72 #631D72 #721D56
triadic
#631D72 #72631D #1D7263
tetradic
#631D72 #72381D #2C721D #1D5672
square
#631D72 #72381D #2C721D #1D5672
split-complementary
#631D72 #56721D #1D7238
monochromatic
#150618 #391141 #631D72 #8D29A3 #B43CCD

Accessibility & contrast

On white

10.77
#631D72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#631D72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631D72
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631D72#FFFFFF#000000##FFFFFF
##631D721.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003974
Deuteranopia (green-blind)
#244070
Tritanopia (blue-blind)
#632D45
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #631d72;
/* rgb */ color: rgb(99, 29, 114);
/* oklch */ color: oklch(38.1% 0.148 319.9);
Tailwind
colors: {
  custom: {
    50: '#92609b',
    500: '#631d72',
    950: '#000000',
  },
}
SCSS
$custom: #631d72;
$custom-light: #92609b;
$custom-dark: #000000;
JSON
{
  "hex": "#631d72",
  "rgb": {
    "r": 99,
    "g": 29,
    "b": 114
  },
  "hsl": {
    "h": 289.412,
    "s": 59.441,
    "l": 28.039
  },
  "oklch": {
    "l": 0.3812,
    "c": 0.14779,
    "h": 319.9
  },
  "luminance": 0.04746
}

Semantic roles & 50–950 ramp

primary
#631D72
secondary
#56A645
accent
#E34561
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #631D72

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

Preview Lab → · Contrast checker → · Palette generator →

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