#631F8A#631F8A

#631F8A is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.1% C 0.169 H 309.6°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#631F8A
RGBrgb(99, 31, 138)
HSLhsl(278, 63%, 33%)
HSVhsv(278, 78%, 54%)
CMYKcmyk(28.3%, 77.5%, 0%, 45.9%)
CIE-LABlab(28.03, 48.00, -45.83)
CIE-LCHlch(28.03, 66.37, 316.33°)
OKLaboklab(40.11% 0.1077 -0.13)
OKLCHoklch(40.11% 0.169 309.6)
XYZxyz(10.2221, 5.4678, 24.5567)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631F8A #468A1F
analogous
#2D1F8A #631F8A #8A1F7B
triadic
#631F8A #8A631F #1F8A63
tetradic
#631F8A #8A2D1F #468A1F #1F7B8A
square
#631F8A #8A2D1F #468A1F #1F7B8A
split-complementary
#631F8A #7B8A1F #1F8A2D
monochromatic
#1B0926 #3F1458 #631F8A #872ABC #A44CD7

Accessibility & contrast

On white

10.03
#631F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#631F8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631F8A
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631F8A#FFFFFF#000000##FFFFFF
##631F8A1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8D
Deuteranopia (green-blind)
#004388
Tritanopia (blue-blind)
#5D3953
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #631f8a;
/* rgb */ color: rgb(99, 31, 138);
/* oklch */ color: oklch(40.1% 0.169 309.6);
Tailwind
colors: {
  custom: {
    50: '#9462ad',
    500: '#631f8a',
    950: '#000000',
  },
}
SCSS
$custom: #631f8a;
$custom-light: #9462ad;
$custom-dark: #000000;
JSON
{
  "hex": "#631f8a",
  "rgb": {
    "r": 99,
    "g": 31,
    "b": 138
  },
  "hsl": {
    "h": 278.131,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.40111,
    "c": 0.1688,
    "h": 309.6
  },
  "luminance": 0.05468
}

Semantic roles & 50–950 ramp

primary
#631F8A
secondary
#73BA4B
accent
#E6417E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #631F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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