#631979#631979

#631979 is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.2% C 0.159 H 317.0°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#631979
RGBrgb(99, 25, 121)
HSLhsl(286, 66%, 29%)
HSVhsv(286, 79%, 47%)
CMYKcmyk(18.2%, 79.3%, 0%, 52.5%)
CIE-LABlab(25.95, 46.61, -38.50)
CIE-LCHlch(25.95, 60.46, 320.44°)
OKLaboklab(38.24% 0.1164 -0.1084)
OKLCHoklch(38.24% 0.159 317)
XYZxyz(8.9439, 4.7288, 18.5271)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631979 #2F7919
analogous
#331979 #631979 #79195F
triadic
#631979 #796319 #197963
tetradic
#631979 #793319 #2F7919 #195F79
square
#631979 #793319 #2F7919 #195F79
split-complementary
#631979 #5F7919 #197933
monochromatic
#150519 #390F46 #631979 #8C23AC #B137D6

Accessibility & contrast

On white

10.79
#631979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#631979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631979
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631979#FFFFFF#000000##FFFFFF
##6319791.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397C
Deuteranopia (green-blind)
#1A4077
Tritanopia (blue-blind)
#622E48
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #631979;
/* rgb */ color: rgb(99, 25, 121);
/* oklch */ color: oklch(38.2% 0.159 317.0);
Tailwind
colors: {
  custom: {
    50: '#935fa0',
    500: '#631979',
    950: '#000000',
  },
}
SCSS
$custom: #631979;
$custom-light: #935fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#631979",
  "rgb": {
    "r": 99,
    "g": 25,
    "b": 121
  },
  "hsl": {
    "h": 286.25,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38238,
    "c": 0.15906,
    "h": 317
  },
  "luminance": 0.04728
}

Semantic roles & 50–950 ramp

primary
#631979
secondary
#59AE40
accent
#E93F66
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0D050F
muted
#7E797E

Preview Lab

Preview with #631979

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

Preview Lab → · Contrast checker → · Palette generator →

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