#631B9B#631B9B

#631B9B is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.2% C 0.189 H 304.3°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#631B9B
RGBrgb(99, 27, 155)
HSLhsl(274, 70%, 36%)
HSVhsv(274, 83%, 61%)
CMYKcmyk(36.1%, 82.6%, 0%, 39.2%)
CIE-LABlab(28.91, 53.38, -54.87)
CIE-LCHlch(28.91, 76.55, 314.21°)
OKLaboklab(41.16% 0.1068 -0.1565)
OKLCHoklch(41.16% 0.189 304.3)
XYZxyz(11.4525, 5.8031, 31.5208)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631B9B #539B1B
analogous
#231B9B #631B9B #9B1B93
triadic
#631B9B #9B631B #1B9B63
tetradic
#631B9B #9B231B #539B1B #1B939B
square
#631B9B #9B231B #539B1B #1B939B
split-complementary
#631B9B #939B1B #1B9B23
monochromatic
#200933 #421267 #631B9B #8424CF #A150E0

Accessibility & contrast

On white

9.72
#631B9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#631B9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631B9B
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631B9B#FFFFFF#000000##FFFFFF
##631B9B1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439E
Deuteranopia (green-blind)
#004499
Tritanopia (blue-blind)
#583E5C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #631b9b;
/* rgb */ color: rgb(99, 27, 155);
/* oklch */ color: oklch(41.2% 0.189 304.3);
Tailwind
colors: {
  custom: {
    50: '#9562b9',
    500: '#631b9b',
    950: '#000000',
  },
}
SCSS
$custom: #631b9b;
$custom-light: #9562b9;
$custom-dark: #000000;
JSON
{
  "hex": "#631b9b",
  "rgb": {
    "r": 99,
    "g": 27,
    "b": 155
  },
  "hsl": {
    "h": 273.75,
    "s": 70.33,
    "l": 35.686
  },
  "oklch": {
    "l": 0.41163,
    "c": 0.18946,
    "h": 304.3
  },
  "luminance": 0.05803
}

Semantic roles & 50–950 ramp

primary
#631B9B
secondary
#82C34F
accent
#ED3B89
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #631B9B

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

Preview Lab → · Contrast checker → · Palette generator →

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