#631978#631978

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

Color values

HEX#631978
RGBrgb(99, 25, 120)
HSLhsl(287, 66%, 28%)
HSVhsv(287, 79%, 47%)
CMYKcmyk(17.5%, 79.2%, 0%, 52.9%)
CIE-LABlab(25.88, 46.41, -37.98)
CIE-LCHlch(25.88, 59.97, 320.70°)
OKLaboklab(38.16% 0.1165 -0.1069)
OKLCHoklch(38.16% 0.158 317.5)
XYZxyz(8.8829, 4.7044, 18.2058)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631978 #2E7819
analogous
#331978 #631978 #78195D
triadic
#631978 #786319 #197863
tetradic
#631978 #783319 #2E7819 #195D78
square
#631978 #783319 #2E7819 #195D78
split-complementary
#631978 #5D7819 #197833
monochromatic
#150519 #390E45 #631978 #8D24AB #B236D5

Accessibility & contrast

On white

10.82
#631978 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#631978 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631978
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631978#FFFFFF#000000##FFFFFF
##6319781.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #631978;
/* rgb */ color: rgb(99, 25, 120);
/* oklch */ color: oklch(38.2% 0.158 317.5);
Tailwind
colors: {
  custom: {
    50: '#935f9f',
    500: '#631978',
    950: '#000000',
  },
}
SCSS
$custom: #631978;
$custom-light: #935f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#631978",
  "rgb": {
    "r": 99,
    "g": 25,
    "b": 120
  },
  "hsl": {
    "h": 286.737,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38164,
    "c": 0.15812,
    "h": 317.5
  },
  "luminance": 0.04704
}

Semantic roles & 50–950 ramp

primary
#631978
secondary
#58AD40
accent
#E83F65
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0D050F
muted
#7E797E

Preview Lab

Preview with #631978

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

Preview Lab → · Contrast checker → · Palette generator →

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