#631F91#631F91

#631F91 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.7% C 0.176 H 307.2°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#631F91
RGBrgb(99, 31, 145)
HSLhsl(276, 65%, 35%)
HSVhsv(276, 79%, 57%)
CMYKcmyk(31.7%, 78.6%, 0%, 43.1%)
CIE-LABlab(28.58, 49.60, -49.27)
CIE-LCHlch(28.58, 69.91, 315.19°)
OKLaboklab(40.67% 0.1062 -0.1401)
OKLCHoklch(40.67% 0.176 307.2)
XYZxyz(10.7453, 5.6771, 27.3123)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631F91 #4D911F
analogous
#2A1F91 #631F91 #911F86
triadic
#631F91 #91631F #1F9163
tetradic
#631F91 #912A1F #4D911F #1F8691
square
#631F91 #912A1F #4D911F #1F8691
split-complementary
#631F91 #86911F #1F912A
monochromatic
#1E092C #41145F #631F91 #852AC3 #A251DA

Accessibility & contrast

On white

9.83
#631F91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#631F91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631F91
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631F91#FFFFFF#000000##FFFFFF
##631F911.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004194
Deuteranopia (green-blind)
#00448F
Tritanopia (blue-blind)
#5B3C57
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #631f91;
/* rgb */ color: rgb(99, 31, 145);
/* oklch */ color: oklch(40.7% 0.176 307.2);
Tailwind
colors: {
  custom: {
    50: '#9463b2',
    500: '#631f91',
    950: '#000000',
  },
}
SCSS
$custom: #631f91;
$custom-light: #9463b2;
$custom-dark: #000000;
JSON
{
  "hex": "#631f91",
  "rgb": {
    "r": 99,
    "g": 31,
    "b": 145
  },
  "hsl": {
    "h": 275.789,
    "s": 64.773,
    "l": 34.51
  },
  "oklch": {
    "l": 0.40675,
    "c": 0.17577,
    "h": 307.2
  },
  "luminance": 0.05677
}

Semantic roles & 50–950 ramp

primary
#631F91
secondary
#7BBD4F
accent
#E84084
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #631F91

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

Preview Lab → · Contrast checker → · Palette generator →

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