#631D89#631D89

#631D89 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.8% C 0.170 H 310.2°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#631D89
RGBrgb(99, 29, 137)
HSLhsl(279, 65%, 33%)
HSVhsv(279, 79%, 54%)
CMYKcmyk(27.7%, 78.8%, 0%, 46.3%)
CIE-LABlab(27.68, 48.56, -45.78)
CIE-LCHlch(27.68, 66.74, 316.69°)
OKLaboklab(39.84% 0.1098 -0.1298)
OKLCHoklch(39.84% 0.17 310.2)
XYZxyz(10.0994, 5.3377, 24.1603)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631D89 #43891D
analogous
#2D1D89 #631D89 #891D79
triadic
#631D89 #89631D #1D8963
tetradic
#631D89 #892D1D #43891D #1D7989
square
#631D89 #892D1D #43891D #1D7989
split-complementary
#631D89 #79891D #1D892D
monochromatic
#1A0824 #3F1256 #631D89 #8728BC #A648D8

Accessibility & contrast

On white

10.16
#631D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#631D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631D89
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631D89#FFFFFF#000000##FFFFFF
##631D891.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8C
Deuteranopia (green-blind)
#004287
Tritanopia (blue-blind)
#5E3752
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #631d89;
/* rgb */ color: rgb(99, 29, 137);
/* oklch */ color: oklch(39.8% 0.170 310.2);
Tailwind
colors: {
  custom: {
    50: '#9462ac',
    500: '#631d89',
    950: '#000000',
  },
}
SCSS
$custom: #631d89;
$custom-light: #9462ac;
$custom-dark: #000000;
JSON
{
  "hex": "#631d89",
  "rgb": {
    "r": 99,
    "g": 29,
    "b": 137
  },
  "hsl": {
    "h": 278.889,
    "s": 65.06,
    "l": 32.549
  },
  "oklch": {
    "l": 0.39838,
    "c": 0.17,
    "h": 310.2
  },
  "luminance": 0.05338
}

Semantic roles & 50–950 ramp

primary
#631D89
secondary
#70BA47
accent
#E8407B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #631D89

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

Preview Lab → · Contrast checker → · Palette generator →

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