#631C9D#631C9D

#631C9D is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.4% C 0.191 H 303.6°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#631C9D
RGBrgb(99, 28, 157)
HSLhsl(273, 70%, 36%)
HSVhsv(273, 82%, 62%)
CMYKcmyk(36.9%, 82.2%, 0%, 38.4%)
CIE-LABlab(29.20, 53.49, -55.61)
CIE-LCHlch(29.20, 77.17, 313.89°)
OKLaboklab(41.42% 0.1054 -0.1587)
OKLCHoklch(41.42% 0.191 303.6)
XYZxyz(11.6452, 5.9175, 32.4204)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631C9D #569D1C
analogous
#221C9D #631C9D #9D1C97
triadic
#631C9D #9D631C #1C9D63
tetradic
#631C9D #9D221C #569D1C #1C979D
square
#631C9D #9D221C #569D1C #1C979D
split-complementary
#631C9D #979D1C #1C9D22
monochromatic
#220935 #421369 #631C9D #8425D1 #A153E0

Accessibility & contrast

On white

9.62
#631C9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#631C9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631C9D
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631C9D#FFFFFF#000000##FFFFFF
##631C9D1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A0
Deuteranopia (green-blind)
#00459B
Tritanopia (blue-blind)
#57405E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #631c9d;
/* rgb */ color: rgb(99, 28, 157);
/* oklch */ color: oklch(41.4% 0.191 303.6);
Tailwind
colors: {
  custom: {
    50: '#9562bb',
    500: '#631c9d',
    950: '#000000',
  },
}
SCSS
$custom: #631c9d;
$custom-light: #9562bb;
$custom-dark: #000000;
JSON
{
  "hex": "#631c9d",
  "rgb": {
    "r": 99,
    "g": 28,
    "b": 157
  },
  "hsl": {
    "h": 273.023,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.41421,
    "c": 0.19052,
    "h": 303.6
  },
  "luminance": 0.05917
}

Semantic roles & 50–950 ramp

primary
#631C9D
secondary
#85C351
accent
#ED3B8B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #631C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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