#631E8F#631E8F

#631E8F is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.4% C 0.175 H 308.0°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#631E8F
RGBrgb(99, 30, 143)
HSLhsl(277, 65%, 34%)
HSVhsv(277, 79%, 56%)
CMYKcmyk(30.8%, 79%, 0%, 43.9%)
CIE-LABlab(28.29, 49.53, -48.51)
CIE-LCHlch(28.29, 69.33, 315.60°)
OKLaboklab(40.42% 0.1075 -0.1379)
OKLCHoklch(40.42% 0.175 308)
XYZxyz(10.5667, 5.5645, 26.4987)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631E8F #4A8F1E
analogous
#2B1E8F #631E8F #8F1E83
triadic
#631E8F #8F631E #1E8F63
tetradic
#631E8F #8F2B1E #4A8F1E #1E838F
square
#631E8F #8F2B1E #4A8F1E #1E838F
split-complementary
#631E8F #838F1E #1E8F2B
monochromatic
#1D092A #40135C #631E8F #8629C2 #A34EDA

Accessibility & contrast

On white

9.94
#631E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #631E8F
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631E8F#FFFFFF#000000##FFFFFF
##631E8F1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#00438D
Tritanopia (blue-blind)
#5C3A56
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #631e8f;
/* rgb */ color: rgb(99, 30, 143);
/* oklch */ color: oklch(40.4% 0.175 308.0);
Tailwind
colors: {
  custom: {
    50: '#9462b1',
    500: '#631e8f',
    950: '#000000',
  },
}
SCSS
$custom: #631e8f;
$custom-light: #9462b1;
$custom-dark: #000000;
JSON
{
  "hex": "#631e8f",
  "rgb": {
    "r": 99,
    "g": 30,
    "b": 143
  },
  "hsl": {
    "h": 276.637,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.40416,
    "c": 0.17484,
    "h": 308
  },
  "luminance": 0.05564
}

Semantic roles & 50–950 ramp

primary
#631E8F
secondary
#78BC4C
accent
#E84081
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #631E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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