#631E8D#631E8D

#631E8D is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.3% C 0.173 H 308.7°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#631E8D
RGBrgb(99, 30, 141)
HSLhsl(277, 65%, 34%)
HSVhsv(277, 79%, 55%)
CMYKcmyk(29.8%, 78.7%, 0%, 44.7%)
CIE-LABlab(28.13, 49.08, -47.53)
CIE-LCHlch(28.13, 68.32, 315.92°)
OKLaboklab(40.25% 0.108 -0.135)
OKLCHoklch(40.25% 0.173 308.7)
XYZxyz(10.4166, 5.5045, 25.7079)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631E8D #488D1E
analogous
#2B1E8D #631E8D #8D1E7F
triadic
#631E8D #8D631E #1E8D63
tetradic
#631E8D #8D2B1E #488D1E #1E7F8D
square
#631E8D #8D2B1E #488D1E #1E7F8D
split-complementary
#631E8D #7F8D1E #1E8D2B
monochromatic
#1C0928 #40135B #631E8D #8629BF #A44CD9

Accessibility & contrast

On white

10.00
#631E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#631E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631E8D
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631E8D#FFFFFF#000000##FFFFFF
##631E8D1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#00438B
Tritanopia (blue-blind)
#5C3A55
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #631e8d;
/* rgb */ color: rgb(99, 30, 141);
/* oklch */ color: oklch(40.3% 0.173 308.7);
Tailwind
colors: {
  custom: {
    50: '#9462af',
    500: '#631e8d',
    950: '#000000',
  },
}
SCSS
$custom: #631e8d;
$custom-light: #9462af;
$custom-dark: #000000;
JSON
{
  "hex": "#631e8d",
  "rgb": {
    "r": 99,
    "g": 30,
    "b": 141
  },
  "hsl": {
    "h": 277.297,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.40254,
    "c": 0.17286,
    "h": 308.7
  },
  "luminance": 0.05504
}

Semantic roles & 50–950 ramp

primary
#631E8D
secondary
#76BC4B
accent
#E8407F
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #631E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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