#631F99#631F99

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

Color values

HEX#631F99
RGBrgb(99, 31, 153)
HSLhsl(273, 66%, 36%)
HSVhsv(273, 80%, 60%)
CMYKcmyk(35.3%, 79.7%, 0%, 40%)
CIE-LABlab(29.24, 51.46, -53.11)
CIE-LCHlch(29.24, 73.95, 314.10°)
OKLaboklab(41.34% 0.1042 -0.1514)
OKLCHoklch(41.34% 0.184 304.5)
XYZxyz(11.3840, 5.9326, 30.6762)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631F99 #55991F
analogous
#261F99 #631F99 #991F92
triadic
#631F99 #99631F #1F9963
tetradic
#631F99 #99261F #55991F #1F9299
square
#631F99 #99261F #55991F #1F9299
split-complementary
#631F99 #92991F #1F9926
monochromatic
#210A33 #421566 #631F99 #8429CC #A156DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##631F99#FFFFFF#000000##FFFFFF
##631F991.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)
#00439C
Deuteranopia (green-blind)
#004597
Tritanopia (blue-blind)
#583F5C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #631f99;
/* rgb */ color: rgb(99, 31, 153);
/* oklch */ color: oklch(41.3% 0.184 304.5);
Tailwind
colors: {
  custom: {
    50: '#9563b8',
    500: '#631f99',
    950: '#000000',
  },
}
SCSS
$custom: #631f99;
$custom-light: #9563b8;
$custom-dark: #000000;
JSON
{
  "hex": "#631f99",
  "rgb": {
    "r": 99,
    "g": 31,
    "b": 153
  },
  "hsl": {
    "h": 273.443,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.41342,
    "c": 0.18375,
    "h": 304.5
  },
  "luminance": 0.05933
}

Semantic roles & 50–950 ramp

primary
#631F99
secondary
#84C054
accent
#E93F8A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #631F99

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

Preview Lab → · Contrast checker → · Palette generator →

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