#631A78#631A78

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

Color values

HEX#631A78
RGBrgb(99, 26, 120)
HSLhsl(287, 64%, 29%)
HSVhsv(287, 78%, 47%)
CMYKcmyk(17.5%, 78.3%, 0%, 52.9%)
CIE-LABlab(26.00, 46.04, -37.78)
CIE-LCHlch(26.00, 59.55, 320.63°)
OKLaboklab(38.26% 0.1156 -0.1063)
OKLCHoklch(38.26% 0.157 317.4)
XYZxyz(8.9047, 4.7479, 18.2130)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631A78 #2F781A
analogous
#341A78 #631A78 #781A5E
triadic
#631A78 #78631A #1A7863
tetradic
#631A78 #78341A #2F781A #1A5E78
square
#631A78 #78341A #2F781A #1A5E78
split-complementary
#631A78 #5E781A #1A7834
monochromatic
#150519 #3A0F46 #631A78 #8C25AA #B138D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##631A78#FFFFFF#000000##FFFFFF
##631A781.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)
#00397B
Deuteranopia (green-blind)
#1C4076
Tritanopia (blue-blind)
#622E48
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #631a78;
/* rgb */ color: rgb(99, 26, 120);
/* oklch */ color: oklch(38.3% 0.157 317.4);
Tailwind
colors: {
  custom: {
    50: '#935f9f',
    500: '#631a78',
    950: '#000000',
  },
}
SCSS
$custom: #631a78;
$custom-light: #935f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#631a78",
  "rgb": {
    "r": 99,
    "g": 26,
    "b": 120
  },
  "hsl": {
    "h": 286.596,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38255,
    "c": 0.15702,
    "h": 317.4
  },
  "luminance": 0.04748
}

Semantic roles & 50–950 ramp

primary
#631A78
secondary
#59AC41
accent
#E74066
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0D050F
muted
#7E797E

Preview Lab

Preview with #631A78

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

Preview Lab → · Contrast checker → · Palette generator →

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