#631688#631688

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

Color values

HEX#631688
RGBrgb(99, 22, 136)
HSLhsl(281, 72%, 31%)
HSVhsv(281, 84%, 53%)
CMYKcmyk(27.2%, 83.8%, 0%, 46.7%)
CIE-LABlab(26.75, 50.81, -46.66)
CIE-LCHlch(26.75, 68.98, 317.43°)
OKLaboklab(39.16% 0.1158 -0.1324)
OKLCHoklch(39.16% 0.176 311.2)
XYZxyz(9.8756, 5.0043, 23.7335)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631688 #3B8816
analogous
#2A1688 #631688 #881674
triadic
#631688 #886316 #168863
tetradic
#631688 #882A16 #3B8816 #167488
square
#631688 #882A16 #3B8816 #167488
split-complementary
#631688 #748816 #16882A
monochromatic
#16051F #3D0D53 #631688 #891FBD #A939DF

Accessibility & contrast

On white

10.50
#631688 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#631688 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631688
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631688#FFFFFF#000000##FFFFFF
##6316881.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #631688;
/* rgb */ color: rgb(99, 22, 136);
/* oklch */ color: oklch(39.2% 0.176 311.2);
Tailwind
colors: {
  custom: {
    50: '#945fab',
    500: '#631688',
    950: '#000000',
  },
}
SCSS
$custom: #631688;
$custom-light: #945fab;
$custom-dark: #000000;
JSON
{
  "hex": "#631688",
  "rgb": {
    "r": 99,
    "g": 22,
    "b": 136
  },
  "hsl": {
    "h": 280.526,
    "s": 72.152,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39162,
    "c": 0.17589,
    "h": 311.2
  },
  "luminance": 0.05004
}

Semantic roles & 50–950 ramp

primary
#631688
secondary
#67BC3E
accent
#EF3974
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #631688

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

Preview Lab → · Contrast checker → · Palette generator →

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