#631558#631558

#631558 is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.7% C 0.135 H 334.5°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#631558
RGBrgb(99, 21, 88)
HSLhsl(308, 65%, 24%)
HSVhsv(308, 79%, 39%)
CMYKcmyk(0%, 78.8%, 11.1%, 61.2%)
CIE-LABlab(23.32, 41.84, -21.24)
CIE-LCHlch(23.32, 46.92, 333.09°)
OKLaboklab(35.68% 0.1217 -0.0581)
OKLCHoklch(35.68% 0.135 334.5)
XYZxyz(7.1753, 3.8942, 9.6044)
Luminance0.0389 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631558 #156320
analogous
#471563 #631558 #631531
triadic
#631558 #586315 #155863
tetradic
#631558 #634715 #156320 #153163
square
#631558 #634715 #156320 #153163
split-complementary
#631558 #316315 #156347
monochromatic
#190516 #310A2B #631558 #952085 #C82AB2

Accessibility & contrast

On white

11.81
#631558 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#631558 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631558
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631558#FFFFFF#000000##FFFFFF
##6315581.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14305A
Deuteranopia (green-blind)
#303C56
Tritanopia (blue-blind)
#681C35
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #631558;
/* rgb */ color: rgb(99, 21, 88);
/* oklch */ color: oklch(35.7% 0.135 334.5);
Tailwind
colors: {
  custom: {
    50: '#925c87',
    500: '#631558',
    950: '#000000',
  },
}
SCSS
$custom: #631558;
$custom-light: #925c87;
$custom-dark: #000000;
JSON
{
  "hex": "#631558",
  "rgb": {
    "r": 99,
    "g": 21,
    "b": 88
  },
  "hsl": {
    "h": 308.462,
    "s": 65,
    "l": 23.529
  },
  "oklch": {
    "l": 0.35681,
    "c": 0.1349,
    "h": 334.5
  },
  "luminance": 0.03894
}

Semantic roles & 50–950 ramp

primary
#631558
secondary
#3A9A47
accent
#E85840
background
#F9F5F8
surface
#F2E9EF
border
#CCC5CA
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #631558

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

Preview Lab → · Contrast checker → · Palette generator →

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