#631980#631980

#631980 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.8% C 0.166 H 314.1°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#631980
RGBrgb(99, 25, 128)
HSLhsl(283, 67%, 30%)
HSVhsv(283, 80%, 50%)
CMYKcmyk(22.7%, 80.5%, 0%, 49.8%)
CIE-LABlab(26.47, 48.08, -42.10)
CIE-LCHlch(26.47, 63.91, 318.80°)
OKLaboklab(38.77% 0.1152 -0.119)
OKLCHoklch(38.77% 0.166 314.1)
XYZxyz(9.3888, 4.9067, 20.8704)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631980 #368019
analogous
#301980 #631980 #801969
triadic
#631980 #806319 #198063
tetradic
#631980 #803019 #368019 #196980
square
#631980 #803019 #368019 #196980
split-complementary
#631980 #698019 #198030
monochromatic
#14051A #3B0F4D #631980 #8B23B3 #AC3BD9

Accessibility & contrast

On white

10.60
#631980 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#631980 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631980
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631980#FFFFFF#000000##FFFFFF
##6319801.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B83
Deuteranopia (green-blind)
#10407E
Tritanopia (blue-blind)
#60314C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #631980;
/* rgb */ color: rgb(99, 25, 128);
/* oklch */ color: oklch(38.8% 0.166 314.1);
Tailwind
colors: {
  custom: {
    50: '#935fa5',
    500: '#631980',
    950: '#000000',
  },
}
SCSS
$custom: #631980;
$custom-light: #935fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#631980",
  "rgb": {
    "r": 99,
    "g": 25,
    "b": 128
  },
  "hsl": {
    "h": 283.107,
    "s": 67.32,
    "l": 30
  },
  "oklch": {
    "l": 0.38769,
    "c": 0.16558,
    "h": 314.1
  },
  "luminance": 0.04906
}

Semantic roles & 50–950 ramp

primary
#631980
secondary
#61B441
accent
#EA3E6E
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #631980

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

Preview Lab → · Contrast checker → · Palette generator →

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