#631F8F#631F8F

#631F8F is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.5% C 0.174 H 307.9°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#631F8F
RGBrgb(99, 31, 143)
HSLhsl(276, 64%, 34%)
HSVhsv(276, 78%, 56%)
CMYKcmyk(30.8%, 78.3%, 0%, 43.9%)
CIE-LABlab(28.42, 49.14, -48.29)
CIE-LCHlch(28.42, 68.90, 315.50°)
OKLaboklab(40.51% 0.1066 -0.1372)
OKLCHoklch(40.51% 0.174 307.9)
XYZxyz(10.5925, 5.6159, 26.5072)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631F8F #4B8F1F
analogous
#2B1F8F #631F8F #8F1F83
triadic
#631F8F #8F631F #1F8F63
tetradic
#631F8F #8F2B1F #4B8F1F #1F838F
square
#631F8F #8F2B1F #4B8F1F #1F838F
split-complementary
#631F8F #838F1F #1F8F2B
monochromatic
#1D092A #40145D #631F8F #862AC1 #A34FD9

Accessibility & contrast

On white

9.89
#631F8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#631F8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631F8F
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631F8F#FFFFFF#000000##FFFFFF
##631F8F1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#00448D
Tritanopia (blue-blind)
#5C3B56
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #631f8f;
/* rgb */ color: rgb(99, 31, 143);
/* oklch */ color: oklch(40.5% 0.174 307.9);
Tailwind
colors: {
  custom: {
    50: '#9463b1',
    500: '#631f8f',
    950: '#000000',
  },
}
SCSS
$custom: #631f8f;
$custom-light: #9463b1;
$custom-dark: #000000;
JSON
{
  "hex": "#631f8f",
  "rgb": {
    "r": 99,
    "g": 31,
    "b": 143
  },
  "hsl": {
    "h": 276.429,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.40512,
    "c": 0.17378,
    "h": 307.9
  },
  "luminance": 0.05616
}

Semantic roles & 50–950 ramp

primary
#631F8F
secondary
#79BC4E
accent
#E74082
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #631F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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