#631996#631996

#631996 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.6% C 0.186 H 306.1°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#631996
RGBrgb(99, 25, 150)
HSLhsl(276, 71%, 34%)
HSVhsv(276, 83%, 59%)
CMYKcmyk(34%, 83.3%, 0%, 41.2%)
CIE-LABlab(28.25, 52.92, -52.89)
CIE-LCHlch(28.25, 74.82, 315.01°)
OKLaboklab(40.57% 0.1097 -0.1507)
OKLCHoklch(40.57% 0.186 306.1)
XYZxyz(10.9970, 5.5500, 29.3402)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631996 #4C9619
analogous
#241996 #631996 #96198B
triadic
#631996 #966319 #199663
tetradic
#631996 #962419 #4C9619 #198B96
square
#631996 #962419 #4C9619 #198B96
split-complementary
#631996 #8B9619 #199624
monochromatic
#1E082D #401062 #631996 #8622CA #A349E1

Accessibility & contrast

On white

9.95
#631996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#631996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631996
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631996#FFFFFF#000000##FFFFFF
##6319961.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004199
Deuteranopia (green-blind)
#004394
Tritanopia (blue-blind)
#5A3B59
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #631996;
/* rgb */ color: rgb(99, 25, 150);
/* oklch */ color: oklch(40.6% 0.186 306.1);
Tailwind
colors: {
  custom: {
    50: '#9561b6',
    500: '#631996',
    950: '#000000',
  },
}
SCSS
$custom: #631996;
$custom-light: #9561b6;
$custom-dark: #000000;
JSON
{
  "hex": "#631996",
  "rgb": {
    "r": 99,
    "g": 25,
    "b": 150
  },
  "hsl": {
    "h": 275.52,
    "s": 71.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.4057,
    "c": 0.1864,
    "h": 306.1
  },
  "luminance": 0.0555
}

Semantic roles & 50–950 ramp

primary
#631996
secondary
#7AC249
accent
#EE3A83
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #631996

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

Preview Lab → · Contrast checker → · Palette generator →

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