#631D93#631D93

#631D93 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.7% C 0.180 H 306.7°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#631D93
RGBrgb(99, 29, 147)
HSLhsl(276, 67%, 35%)
HSVhsv(276, 80%, 58%)
CMYKcmyk(32.7%, 80.3%, 0%, 42.4%)
CIE-LABlab(28.48, 50.83, -50.67)
CIE-LCHlch(28.48, 71.77, 315.09°)
OKLaboklab(40.65% 0.1074 -0.1442)
OKLCHoklch(40.65% 0.18 306.7)
XYZxyz(10.8503, 5.6381, 28.1148)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631D93 #4D931D
analogous
#281D93 #631D93 #931D88
triadic
#631D93 #93631D #1D9363
tetradic
#631D93 #93281D #4D931D #1D8893
square
#631D93 #93281D #4D931D #1D8893
split-complementary
#631D93 #88931D #1D9328
monochromatic
#1E092D #411360 #631D93 #8527C6 #A24EDC

Accessibility & contrast

On white

9.87
#631D93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#631D93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631D93
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631D93#FFFFFF#000000##FFFFFF
##631D931.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004196
Deuteranopia (green-blind)
#004491
Tritanopia (blue-blind)
#5B3C58
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #631d93;
/* rgb */ color: rgb(99, 29, 147);
/* oklch */ color: oklch(40.7% 0.180 306.7);
Tailwind
colors: {
  custom: {
    50: '#9562b4',
    500: '#631d93',
    950: '#000000',
  },
}
SCSS
$custom: #631d93;
$custom-light: #9562b4;
$custom-dark: #000000;
JSON
{
  "hex": "#631d93",
  "rgb": {
    "r": 99,
    "g": 29,
    "b": 147
  },
  "hsl": {
    "h": 275.593,
    "s": 67.045,
    "l": 34.51
  },
  "oklch": {
    "l": 0.40654,
    "c": 0.1798,
    "h": 306.7
  },
  "luminance": 0.05638
}

Semantic roles & 50–950 ramp

primary
#631D93
secondary
#7BBF4D
accent
#EA3E84
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #631D93

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

Preview Lab → · Contrast checker → · Palette generator →

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