#631F92#631F92

#631F92 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.8% C 0.177 H 306.8°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#631F92
RGBrgb(99, 31, 146)
HSLhsl(275, 65%, 35%)
HSVhsv(275, 79%, 57%)
CMYKcmyk(32.2%, 78.8%, 0%, 42.7%)
CIE-LABlab(28.66, 49.83, -49.75)
CIE-LCHlch(28.66, 70.42, 315.05°)
OKLaboklab(40.76% 0.1059 -0.1415)
OKLCHoklch(40.76% 0.177 306.8)
XYZxyz(10.8228, 5.7081, 27.7202)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631F92 #4E921F
analogous
#291F92 #631F92 #921F88
triadic
#631F92 #92631F #1F9263
tetradic
#631F92 #92291F #4E921F #1F8892
square
#631F92 #92291F #4E921F #1F8892
split-complementary
#631F92 #88921F #1F9229
monochromatic
#1F0A2D #411460 #631F92 #852AC4 #A251DA

Accessibility & contrast

On white

9.81
#631F92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #631F92
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631F92#FFFFFF#000000##FFFFFF
##631F921.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004195
Deuteranopia (green-blind)
#004490
Tritanopia (blue-blind)
#5B3C58
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #631f92;
/* rgb */ color: rgb(99, 31, 146);
/* oklch */ color: oklch(40.8% 0.177 306.8);
Tailwind
colors: {
  custom: {
    50: '#9463b3',
    500: '#631f92',
    950: '#000000',
  },
}
SCSS
$custom: #631f92;
$custom-light: #9463b3;
$custom-dark: #000000;
JSON
{
  "hex": "#631f92",
  "rgb": {
    "r": 99,
    "g": 31,
    "b": 146
  },
  "hsl": {
    "h": 275.478,
    "s": 64.972,
    "l": 34.706
  },
  "oklch": {
    "l": 0.40757,
    "c": 0.17676,
    "h": 306.8
  },
  "luminance": 0.05708
}

Semantic roles & 50–950 ramp

primary
#631F92
secondary
#7CBD50
accent
#E84085
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #631F92

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

Preview Lab → · Contrast checker → · Palette generator →

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