#631879#631879

#631879 is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.1% C 0.160 H 317.1°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#631879
RGBrgb(99, 24, 121)
HSLhsl(286, 67%, 28%)
HSVhsv(286, 80%, 47%)
CMYKcmyk(18.2%, 80.2%, 0%, 52.5%)
CIE-LABlab(25.82, 46.97, -38.70)
CIE-LCHlch(25.82, 60.86, 320.51°)
OKLaboklab(38.15% 0.1173 -0.109)
OKLCHoklch(38.15% 0.16 317.1)
XYZxyz(8.9229, 4.6868, 18.5201)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631879 #2E7918
analogous
#321879 #631879 #79185E
triadic
#631879 #796318 #187963
tetradic
#631879 #793218 #2E7918 #185E79
square
#631879 #793218 #2E7918 #185E79
split-complementary
#631879 #5E7918 #187932
monochromatic
#15051A #390E46 #631879 #8D22AC #B235D7

Accessibility & contrast

On white

10.84
#631879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #631879
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631879#FFFFFF#000000##FFFFFF
##6318791.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #631879;
/* rgb */ color: rgb(99, 24, 121);
/* oklch */ color: oklch(38.1% 0.160 317.1);
Tailwind
colors: {
  custom: {
    50: '#935fa0',
    500: '#631879',
    950: '#000000',
  },
}
SCSS
$custom: #631879;
$custom-light: #935fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#631879",
  "rgb": {
    "r": 99,
    "g": 24,
    "b": 121
  },
  "hsl": {
    "h": 286.392,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3815,
    "c": 0.16013,
    "h": 317.1
  },
  "luminance": 0.04686
}

Semantic roles & 50–950 ramp

primary
#631879
secondary
#58AE3F
accent
#EA3E65
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0D050F
muted
#7E797E

Preview Lab

Preview with #631879

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

Preview Lab → · Contrast checker → · Palette generator →

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