#631E8E#631E8E

#631E8E is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.3% C 0.174 H 308.3°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#631E8E
RGBrgb(99, 30, 142)
HSLhsl(277, 65%, 34%)
HSVhsv(277, 79%, 56%)
CMYKcmyk(30.3%, 78.9%, 0%, 44.3%)
CIE-LABlab(28.21, 49.30, -48.02)
CIE-LCHlch(28.21, 68.83, 315.75°)
OKLaboklab(40.34% 0.1078 -0.1364)
OKLCHoklch(40.34% 0.174 308.3)
XYZxyz(10.4913, 5.5344, 26.1015)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631E8E #498E1E
analogous
#2B1E8E #631E8E #8E1E81
triadic
#631E8E #8E631E #1E8E63
tetradic
#631E8E #8E2B1E #498E1E #1E818E
square
#631E8E #8E2B1E #498E1E #1E818E
split-complementary
#631E8E #818E1E #1E8E2B
monochromatic
#1D0929 #40135B #631E8E #8629C1 #A34DD9

Accessibility & contrast

On white

9.97
#631E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#631E8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631E8E
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631E8E#FFFFFF#000000##FFFFFF
##631E8E1.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004091
Deuteranopia (green-blind)
#00438C
Tritanopia (blue-blind)
#5C3A55
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #631e8e;
/* rgb */ color: rgb(99, 30, 142);
/* oklch */ color: oklch(40.3% 0.174 308.3);
Tailwind
colors: {
  custom: {
    50: '#9462b0',
    500: '#631e8e',
    950: '#000000',
  },
}
SCSS
$custom: #631e8e;
$custom-light: #9462b0;
$custom-dark: #000000;
JSON
{
  "hex": "#631e8e",
  "rgb": {
    "r": 99,
    "g": 30,
    "b": 142
  },
  "hsl": {
    "h": 276.964,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.40335,
    "c": 0.17385,
    "h": 308.3
  },
  "luminance": 0.05534
}

Semantic roles & 50–950 ramp

primary
#631E8E
secondary
#77BC4C
accent
#E84080
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #631E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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