#631E95#631E95

#631E95 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.9% C 0.181 H 305.9°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#631E95
RGBrgb(99, 30, 149)
HSLhsl(275, 66%, 35%)
HSVhsv(275, 80%, 58%)
CMYKcmyk(33.6%, 79.9%, 0%, 41.6%)
CIE-LABlab(28.78, 50.91, -51.42)
CIE-LCHlch(28.78, 72.36, 314.72°)
OKLaboklab(40.91% 0.1061 -0.1464)
OKLCHoklch(40.91% 0.181 305.9)
XYZxyz(11.0335, 5.7512, 28.9568)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631E95 #50951E
analogous
#281E95 #631E95 #951E8B
triadic
#631E95 #95631E #1E9563
tetradic
#631E95 #95281E #50951E #1E8B95
square
#631E95 #95281E #50951E #1E8B95
split-complementary
#631E95 #8B951E #1E9528
monochromatic
#1F092F #411462 #631E95 #8528C8 #A251DC

Accessibility & contrast

On white

9.77
#631E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#631E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631E95
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631E95#FFFFFF#000000##FFFFFF
##631E951.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004298
Deuteranopia (green-blind)
#004493
Tritanopia (blue-blind)
#5A3D59
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #631e95;
/* rgb */ color: rgb(99, 30, 149);
/* oklch */ color: oklch(40.9% 0.181 305.9);
Tailwind
colors: {
  custom: {
    50: '#9563b5',
    500: '#631e95',
    950: '#000000',
  },
}
SCSS
$custom: #631e95;
$custom-light: #9563b5;
$custom-dark: #000000;
JSON
{
  "hex": "#631e95",
  "rgb": {
    "r": 99,
    "g": 30,
    "b": 149
  },
  "hsl": {
    "h": 274.79,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.40912,
    "c": 0.18077,
    "h": 305.9
  },
  "luminance": 0.05751
}

Semantic roles & 50–950 ramp

primary
#631E95
secondary
#7FBF50
accent
#E93E86
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #631E95

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

Preview Lab → · Contrast checker → · Palette generator →

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