#631B8B#631B8B

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

Color values

HEX#631B8B
RGBrgb(99, 27, 139)
HSLhsl(279, 67%, 33%)
HSVhsv(279, 81%, 55%)
CMYKcmyk(28.8%, 80.6%, 0%, 45.5%)
CIE-LABlab(27.58, 49.76, -47.19)
CIE-LCHlch(27.58, 68.57, 316.52°)
OKLaboklab(39.82% 0.1111 -0.1339)
OKLCHoklch(39.82% 0.174 309.7)
XYZxyz(10.1968, 5.3008, 24.9071)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631B8B #438B1B
analogous
#2B1B8B #631B8B #8B1B7B
triadic
#631B8B #8B631B #1B8B63
tetradic
#631B8B #8B2B1B #438B1B #1B7B8B
square
#631B8B #8B2B1B #438B1B #1B7B8B
split-complementary
#631B8B #7B8B1B #1B8B2B
monochromatic
#1A0725 #3F1158 #631B8B #8725BE #A645DB

Accessibility & contrast

On white

10.19
#631B8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#631B8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631B8B
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631B8B#FFFFFF#000000##FFFFFF
##631B8B1.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8E
Deuteranopia (green-blind)
#004289
Tritanopia (blue-blind)
#5D3753
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #631b8b;
/* rgb */ color: rgb(99, 27, 139);
/* oklch */ color: oklch(39.8% 0.174 309.7);
Tailwind
colors: {
  custom: {
    50: '#9461ae',
    500: '#631b8b',
    950: '#000000',
  },
}
SCSS
$custom: #631b8b;
$custom-light: #9461ae;
$custom-dark: #000000;
JSON
{
  "hex": "#631b8b",
  "rgb": {
    "r": 99,
    "g": 27,
    "b": 139
  },
  "hsl": {
    "h": 278.571,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.39817,
    "c": 0.17401,
    "h": 309.7
  },
  "luminance": 0.05301
}

Semantic roles & 50–950 ramp

primary
#631B8B
secondary
#70BC45
accent
#EA3D7B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #631B8B

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

Preview Lab → · Contrast checker → · Palette generator →

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