#631B8D#631B8D

#631B8D is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.0% C 0.176 H 309.0°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#631B8D
RGBrgb(99, 27, 141)
HSLhsl(278, 68%, 33%)
HSVhsv(278, 81%, 55%)
CMYKcmyk(29.8%, 80.9%, 0%, 44.7%)
CIE-LABlab(27.74, 50.20, -48.17)
CIE-LCHlch(27.74, 69.57, 316.19°)
OKLaboklab(39.98% 0.1106 -0.1368)
OKLCHoklch(39.98% 0.176 309)
XYZxyz(10.3443, 5.3598, 25.6838)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631B8D #458D1B
analogous
#2A1B8D #631B8D #8D1B7E
triadic
#631B8D #8D631B #1B8D63
tetradic
#631B8D #8D2A1B #458D1B #1B7E8D
square
#631B8D #8D2A1B #458D1B #1B7E8D
split-complementary
#631B8D #7E8D1B #1B8D2A
monochromatic
#1B0726 #3F115A #631B8D #8725C0 #A547DC

Accessibility & contrast

On white

10.14
#631B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #631B8D
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631B8D#FFFFFF#000000##FFFFFF
##631B8D1.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F90
Deuteranopia (green-blind)
#00428B
Tritanopia (blue-blind)
#5C3854
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #631b8d;
/* rgb */ color: rgb(99, 27, 141);
/* oklch */ color: oklch(40.0% 0.176 309.0);
Tailwind
colors: {
  custom: {
    50: '#9461af',
    500: '#631b8d',
    950: '#000000',
  },
}
SCSS
$custom: #631b8d;
$custom-light: #9461af;
$custom-dark: #000000;
JSON
{
  "hex": "#631b8d",
  "rgb": {
    "r": 99,
    "g": 27,
    "b": 141
  },
  "hsl": {
    "h": 277.895,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.3998,
    "c": 0.17593,
    "h": 309
  },
  "luminance": 0.0536
}

Semantic roles & 50–950 ramp

primary
#631B8D
secondary
#72BD46
accent
#EB3D7D
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #631B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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