#631E83#631E83

#631E83 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.5% C 0.163 H 312.4°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#631E83
RGBrgb(99, 30, 131)
HSLhsl(281, 63%, 32%)
HSVhsv(281, 77%, 51%)
CMYKcmyk(24.4%, 77.1%, 0%, 48.6%)
CIE-LABlab(27.35, 46.84, -42.55)
CIE-LCHlch(27.35, 63.28, 317.75°)
OKLaboklab(39.47% 0.11 -0.1203)
OKLCHoklch(39.47% 0.163 312.4)
XYZxyz(9.7059, 5.2202, 21.9646)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631E83 #3E831E
analogous
#311E83 #631E83 #831E71
triadic
#631E83 #83631E #1E8363
tetradic
#631E83 #83311E #3E831E #1E7183
square
#631E83 #83311E #3E831E #1E7183
split-complementary
#631E83 #71831E #1E8331
monochromatic
#18071F #3D1351 #631E83 #8929B5 #A847D5

Accessibility & contrast

On white

10.27
#631E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #631E83
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631E83#FFFFFF#000000##FFFFFF
##631E831.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D86
Deuteranopia (green-blind)
#104281
Tritanopia (blue-blind)
#5F354F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #631e83;
/* rgb */ color: rgb(99, 30, 131);
/* oklch */ color: oklch(39.5% 0.163 312.4);
Tailwind
colors: {
  custom: {
    50: '#9362a8',
    500: '#631e83',
    950: '#000000',
  },
}
SCSS
$custom: #631e83;
$custom-light: #9362a8;
$custom-dark: #000000;
JSON
{
  "hex": "#631e83",
  "rgb": {
    "r": 99,
    "g": 30,
    "b": 131
  },
  "hsl": {
    "h": 280.99,
    "s": 62.733,
    "l": 31.569
  },
  "oklch": {
    "l": 0.39465,
    "c": 0.16301,
    "h": 312.4
  },
  "luminance": 0.0522
}

Semantic roles & 50–950 ramp

primary
#631E83
secondary
#6AB647
accent
#E64276
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D0510
muted
#7E7A7F

Preview Lab

Preview with #631E83

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

Preview Lab → · Contrast checker → · Palette generator →

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