#631778#631778

#631778 is a dark, vivid purple. Relative luminance 0.046; OKLCH L 38.0% C 0.160 H 317.6°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#631778
RGBrgb(99, 23, 120)
HSLhsl(287, 68%, 28%)
HSVhsv(287, 81%, 47%)
CMYKcmyk(17.5%, 80.8%, 0%, 52.9%)
CIE-LABlab(25.63, 47.12, -38.38)
CIE-LCHlch(25.63, 60.77, 320.83°)
OKLaboklab(37.99% 0.1184 -0.108)
OKLCHoklch(37.99% 0.16 317.6)
XYZxyz(8.8417, 4.6219, 18.1920)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631778 #2C7817
analogous
#321778 #631778 #78175C
triadic
#631778 #786317 #177863
tetradic
#631778 #783217 #2C7817 #175C78
square
#631778 #783217 #2C7817 #175C78
split-complementary
#631778 #5C7817 #177832
monochromatic
#15051A #390D45 #631778 #8D21AB #B432D8

Accessibility & contrast

On white

10.91
#631778 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#631778 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631778
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631778#FFFFFF#000000##FFFFFF
##6317781.0010.911.9210.91
#FFFFFF10.911.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387B
Deuteranopia (green-blind)
#1A3F76
Tritanopia (blue-blind)
#622D47
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #631778;
/* rgb */ color: rgb(99, 23, 120);
/* oklch */ color: oklch(38.0% 0.160 317.6);
Tailwind
colors: {
  custom: {
    50: '#935ea0',
    500: '#631778',
    950: '#000000',
  },
}
SCSS
$custom: #631778;
$custom-light: #935ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#631778",
  "rgb": {
    "r": 99,
    "g": 23,
    "b": 120
  },
  "hsl": {
    "h": 287.01,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.3799,
    "c": 0.16025,
    "h": 317.6
  },
  "luminance": 0.04622
}

Semantic roles & 50–950 ramp

primary
#631778
secondary
#56AD3E
accent
#EB3D63
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0D050F
muted
#7E797E

Preview Lab

Preview with #631778

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

Preview Lab → · Contrast checker → · Palette generator →

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