#631788#631788

#631788 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 39.2% C 0.175 H 311.1°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#631788
RGBrgb(99, 23, 136)
HSLhsl(280, 71%, 31%)
HSVhsv(280, 83%, 53%)
CMYKcmyk(27.2%, 83.1%, 0%, 46.7%)
CIE-LABlab(26.86, 50.48, -46.48)
CIE-LCHlch(26.86, 68.62, 317.36°)
OKLaboklab(39.24% 0.1151 -0.1318)
OKLCHoklch(39.24% 0.175 311.1)
XYZxyz(9.8951, 5.0433, 23.7400)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631788 #3C8817
analogous
#2A1788 #631788 #881774
triadic
#631788 #886317 #178863
tetradic
#631788 #882A17 #3C8817 #177488
square
#631788 #882A17 #3C8817 #177488
split-complementary
#631788 #748817 #17882A
monochromatic
#17051F #3D0E54 #631788 #8920BC #A93BDE

Accessibility & contrast

On white

10.46
#631788 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#631788 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631788
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631788#FFFFFF#000000##FFFFFF
##6317881.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8B
Deuteranopia (green-blind)
#004186
Tritanopia (blue-blind)
#5E3451
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #631788;
/* rgb */ color: rgb(99, 23, 136);
/* oklch */ color: oklch(39.2% 0.175 311.1);
Tailwind
colors: {
  custom: {
    50: '#945fab',
    500: '#631788',
    950: '#000000',
  },
}
SCSS
$custom: #631788;
$custom-light: #945fab;
$custom-dark: #000000;
JSON
{
  "hex": "#631788",
  "rgb": {
    "r": 99,
    "g": 23,
    "b": 136
  },
  "hsl": {
    "h": 280.354,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.3924,
    "c": 0.17499,
    "h": 311.1
  },
  "luminance": 0.05043
}

Semantic roles & 50–950 ramp

primary
#631788
secondary
#68BC3F
accent
#EE3A75
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #631788

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

Preview Lab → · Contrast checker → · Palette generator →

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