#631992#631992

#631992 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.2% C 0.183 H 307.4°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#631992
RGBrgb(99, 25, 146)
HSLhsl(277, 71%, 34%)
HSVhsv(277, 83%, 57%)
CMYKcmyk(32.2%, 82.9%, 0%, 42.7%)
CIE-LABlab(27.91, 52.02, -50.98)
CIE-LCHlch(27.91, 72.84, 315.58°)
OKLaboklab(40.23% 0.1109 -0.1451)
OKLCHoklch(40.23% 0.183 307.4)
XYZxyz(10.6804, 5.4234, 27.6727)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631992 #489219
analogous
#261992 #631992 #921984
triadic
#631992 #926319 #199263
tetradic
#631992 #922619 #489219 #198492
square
#631992 #922619 #489219 #198492
split-complementary
#631992 #849219 #199226
monochromatic
#1C0729 #40105E #631992 #8622C6 #A446DF

Accessibility & contrast

On white

10.07
#631992 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#631992 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631992
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631992#FFFFFF#000000##FFFFFF
##6319921.0010.072.0810.07
#FFFFFF10.071.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F95
Deuteranopia (green-blind)
#004290
Tritanopia (blue-blind)
#5B3A57
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #631992;
/* rgb */ color: rgb(99, 25, 146);
/* oklch */ color: oklch(40.2% 0.183 307.4);
Tailwind
colors: {
  custom: {
    50: '#9560b3',
    500: '#631992',
    950: '#000000',
  },
}
SCSS
$custom: #631992;
$custom-light: #9560b3;
$custom-dark: #000000;
JSON
{
  "hex": "#631992",
  "rgb": {
    "r": 99,
    "g": 25,
    "b": 146
  },
  "hsl": {
    "h": 276.694,
    "s": 70.76,
    "l": 33.529
  },
  "oklch": {
    "l": 0.40229,
    "c": 0.18259,
    "h": 307.4
  },
  "luminance": 0.05423
}

Semantic roles & 50–950 ramp

primary
#631992
secondary
#76C146
accent
#EE3A80
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #631992

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

Preview Lab → · Contrast checker → · Palette generator →

#631992 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva