#631B9F#631B9F

#631B9F is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.5% C 0.193 H 303.1°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#631B9F
RGBrgb(99, 27, 159)
HSLhsl(273, 71%, 36%)
HSVhsv(273, 83%, 62%)
CMYKcmyk(37.7%, 83%, 0%, 37.6%)
CIE-LABlab(29.26, 54.30, -56.74)
CIE-LCHlch(29.26, 78.54, 313.74°)
OKLaboklab(41.51% 0.1055 -0.162)
OKLCHoklch(41.51% 0.193 303.1)
XYZxyz(11.7940, 5.9397, 33.3193)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631B9F #579F1B
analogous
#211B9F #631B9F #9F1B99
triadic
#631B9F #9F631B #1B9F63
tetradic
#631B9F #9F211B #579F1B #1B999F
square
#631B9F #9F211B #579F1B #1B999F
split-complementary
#631B9F #999F1B #1B9F21
monochromatic
#220936 #42126B #631B9F #8424D3 #A153E2

Accessibility & contrast

On white

9.60
#631B9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#631B9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631B9F
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631B9F#FFFFFF#000000##FFFFFF
##631B9F1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#00459D
Tritanopia (blue-blind)
#56405F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #631b9f;
/* rgb */ color: rgb(99, 27, 159);
/* oklch */ color: oklch(41.5% 0.193 303.1);
Tailwind
colors: {
  custom: {
    50: '#9662bc',
    500: '#631b9f',
    950: '#000000',
  },
}
SCSS
$custom: #631b9f;
$custom-light: #9662bc;
$custom-dark: #000000;
JSON
{
  "hex": "#631b9f",
  "rgb": {
    "r": 99,
    "g": 27,
    "b": 159
  },
  "hsl": {
    "h": 272.727,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.41514,
    "c": 0.19334,
    "h": 303.1
  },
  "luminance": 0.0594
}

Semantic roles & 50–950 ramp

primary
#631B9F
secondary
#86C551
accent
#EE3A8C
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #631B9F

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

Preview Lab → · Contrast checker → · Palette generator →

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