#631872#631872

#631872 is a dark, vivid purple. Relative luminance 0.045; OKLCH L 37.6% C 0.154 H 320.3°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#631872
RGBrgb(99, 24, 114)
HSLhsl(290, 65%, 27%)
HSVhsv(290, 79%, 45%)
CMYKcmyk(13.2%, 78.9%, 0%, 55.3%)
CIE-LABlab(25.32, 45.55, -35.03)
CIE-LCHlch(25.32, 57.47, 322.44°)
OKLaboklab(37.64% 0.1182 -0.0982)
OKLCHoklch(37.64% 0.154 320.3)
XYZxyz(8.5091, 4.5213, 16.3408)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631872 #277218
analogous
#361872 #631872 #721854
triadic
#631872 #726318 #187263
tetradic
#631872 #723618 #277218 #185472
square
#631872 #723618 #277218 #185472
split-complementary
#631872 #547218 #187236
monochromatic
#160519 #370D3F #631872 #8F23A5 #B831D4

Accessibility & contrast

On white

11.03
#631872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#631872 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631872
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631872#FFFFFF#000000##FFFFFF
##6318721.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003774
Deuteranopia (green-blind)
#213F70
Tritanopia (blue-blind)
#632A44
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #631872;
/* rgb */ color: rgb(99, 24, 114);
/* oklch */ color: oklch(37.6% 0.154 320.3);
Tailwind
colors: {
  custom: {
    50: '#935e9b',
    500: '#631872',
    950: '#000000',
  },
}
SCSS
$custom: #631872;
$custom-light: #935e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#631872",
  "rgb": {
    "r": 99,
    "g": 24,
    "b": 114
  },
  "hsl": {
    "h": 290,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.37639,
    "c": 0.15372,
    "h": 320.3
  },
  "luminance": 0.04521
}

Semantic roles & 50–950 ramp

primary
#631872
secondary
#50A73E
accent
#E8405C
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #631872

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

Preview Lab → · Contrast checker → · Palette generator →

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