#631F9F#631F9F

#631F9F is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.9% C 0.190 H 302.7°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#631F9F
RGBrgb(99, 31, 159)
HSLhsl(272, 67%, 37%)
HSVhsv(272, 81%, 62%)
CMYKcmyk(37.7%, 80.5%, 0%, 37.6%)
CIE-LABlab(29.75, 52.87, -55.94)
CIE-LCHlch(29.75, 76.97, 313.39°)
OKLaboklab(41.86% 0.1025 -0.1597)
OKLCHoklch(41.86% 0.19 302.7)
XYZxyz(11.8921, 6.1358, 33.3520)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631F9F #5B9F1F
analogous
#231F9F #631F9F #9F1F9B
triadic
#631F9F #9F631F #1F9F63
tetradic
#631F9F #9F231F #5B9F1F #1F9B9F
square
#631F9F #9F231F #5B9F1F #1F9B9F
split-complementary
#631F9F #9B9F1F #1F9F23
monochromatic
#230B39 #43156C #631F9F #8329D2 #A05ADF

Accessibility & contrast

On white

9.43
#631F9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#631F9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631F9F
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631F9F#FFFFFF#000000##FFFFFF
##631F9F1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#00469D
Tritanopia (blue-blind)
#56425F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #631f9f;
/* rgb */ color: rgb(99, 31, 159);
/* oklch */ color: oklch(41.9% 0.190 302.7);
Tailwind
colors: {
  custom: {
    50: '#9564bc',
    500: '#631f9f',
    950: '#000000',
  },
}
SCSS
$custom: #631f9f;
$custom-light: #9564bc;
$custom-dark: #000000;
JSON
{
  "hex": "#631f9f",
  "rgb": {
    "r": 99,
    "g": 31,
    "b": 159
  },
  "hsl": {
    "h": 271.875,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.41856,
    "c": 0.18974,
    "h": 302.7
  },
  "luminance": 0.06136
}

Semantic roles & 50–950 ramp

primary
#631F9F
secondary
#8AC357
accent
#EA3E8F
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #631F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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