#631A89#631A89

#631A89 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.6% C 0.173 H 310.5°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#631A89
RGBrgb(99, 26, 137)
HSLhsl(279, 68%, 32%)
HSVhsv(279, 81%, 54%)
CMYKcmyk(27.7%, 81%, 0%, 46.3%)
CIE-LABlab(27.29, 49.68, -46.40)
CIE-LCHlch(27.29, 67.98, 316.95°)
OKLaboklab(39.57% 0.1124 -0.1316)
OKLCHoklch(39.57% 0.173 310.5)
XYZxyz(10.0295, 5.1978, 24.1370)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631A89 #40891A
analogous
#2B1A89 #631A89 #891A78
triadic
#631A89 #89631A #1A8963
tetradic
#631A89 #892B1A #40891A #1A7889
square
#631A89 #892B1A #40891A #1A7889
split-complementary
#631A89 #78891A #1A892B
monochromatic
#190622 #3E1056 #631A89 #8824BC #A742DB

Accessibility & contrast

On white

10.30
#631A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#631A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631A89
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631A89#FFFFFF#000000##FFFFFF
##631A891.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8C
Deuteranopia (green-blind)
#004287
Tritanopia (blue-blind)
#5E3652
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #631a89;
/* rgb */ color: rgb(99, 26, 137);
/* oklch */ color: oklch(39.6% 0.173 310.5);
Tailwind
colors: {
  custom: {
    50: '#9460ac',
    500: '#631a89',
    950: '#000000',
  },
}
SCSS
$custom: #631a89;
$custom-light: #9460ac;
$custom-dark: #000000;
JSON
{
  "hex": "#631a89",
  "rgb": {
    "r": 99,
    "g": 26,
    "b": 137
  },
  "hsl": {
    "h": 279.459,
    "s": 68.098,
    "l": 31.961
  },
  "oklch": {
    "l": 0.39568,
    "c": 0.17309,
    "h": 310.5
  },
  "luminance": 0.05198
}

Semantic roles & 50–950 ramp

primary
#631A89
secondary
#6CBC43
accent
#EB3D78
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #631A89

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

Preview Lab → · Contrast checker → · Palette generator →

#631A89 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva