#631578#631578

#631578 is a dark, vivid purple. Relative luminance 0.045; OKLCH L 37.8% C 0.162 H 317.7°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#631578
RGBrgb(99, 21, 120)
HSLhsl(287, 70%, 28%)
HSVhsv(287, 83%, 47%)
CMYKcmyk(17.5%, 82.5%, 0%, 52.9%)
CIE-LABlab(25.40, 47.78, -38.75)
CIE-LCHlch(25.40, 61.52, 320.96°)
OKLaboklab(37.83% 0.1201 -0.1091)
OKLCHoklch(37.83% 0.162 317.7)
XYZxyz(8.8034, 4.5454, 18.1793)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631578 #2A7815
analogous
#321578 #631578 #78155B
triadic
#631578 #786315 #157863
tetradic
#631578 #783215 #2A7815 #155B78
square
#631578 #783215 #2A7815 #155B78
split-complementary
#631578 #5B7815 #157832
monochromatic
#15051A #380C44 #631578 #8E1EAC #B62DDA

Accessibility & contrast

On white

11.00
#631578 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #631578
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631578#FFFFFF#000000##FFFFFF
##6315781.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377B
Deuteranopia (green-blind)
#193E76
Tritanopia (blue-blind)
#622C47
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #631578;
/* rgb */ color: rgb(99, 21, 120);
/* oklch */ color: oklch(37.8% 0.162 317.7);
Tailwind
colors: {
  custom: {
    50: '#935da0',
    500: '#631578',
    950: '#000000',
  },
}
SCSS
$custom: #631578;
$custom-light: #935da0;
$custom-dark: #000000;
JSON
{
  "hex": "#631578",
  "rgb": {
    "r": 99,
    "g": 21,
    "b": 120
  },
  "hsl": {
    "h": 287.273,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.37828,
    "c": 0.16225,
    "h": 317.7
  },
  "luminance": 0.04545
}

Semantic roles & 50–950 ramp

primary
#631578
secondary
#53AE3B
accent
#ED3B61
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0D050F
muted
#7E797E

Preview Lab

Preview with #631578

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

Preview Lab → · Contrast checker → · Palette generator →

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