#631E90#631E90

#631E90 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.5% C 0.176 H 307.6°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#631E90
RGBrgb(99, 30, 144)
HSLhsl(276, 66%, 34%)
HSVhsv(276, 79%, 56%)
CMYKcmyk(31.3%, 79.2%, 0%, 43.5%)
CIE-LABlab(28.37, 49.76, -49.00)
CIE-LCHlch(28.37, 69.84, 315.44°)
OKLaboklab(40.5% 0.1073 -0.1393)
OKLCHoklch(40.5% 0.176 307.6)
XYZxyz(10.6428, 5.5950, 26.8994)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631E90 #4B901E
analogous
#2A1E90 #631E90 #901E84
triadic
#631E90 #90631E #1E9063
tetradic
#631E90 #902A1E #4B901E #1E8490
square
#631E90 #902A1E #4B901E #1E8490
split-complementary
#631E90 #84901E #1E902A
monochromatic
#1D092B #40135D #631E90 #8629C3 #A34EDA

Accessibility & contrast

On white

9.91
#631E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#631E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631E90
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631E90#FFFFFF#000000##FFFFFF
##631E901.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004193
Deuteranopia (green-blind)
#00438E
Tritanopia (blue-blind)
#5B3B57
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #631e90;
/* rgb */ color: rgb(99, 30, 144);
/* oklch */ color: oklch(40.5% 0.176 307.6);
Tailwind
colors: {
  custom: {
    50: '#9462b1',
    500: '#631e90',
    950: '#000000',
  },
}
SCSS
$custom: #631e90;
$custom-light: #9462b1;
$custom-dark: #000000;
JSON
{
  "hex": "#631e90",
  "rgb": {
    "r": 99,
    "g": 30,
    "b": 144
  },
  "hsl": {
    "h": 276.316,
    "s": 65.517,
    "l": 34.118
  },
  "oklch": {
    "l": 0.40498,
    "c": 0.17583,
    "h": 307.6
  },
  "luminance": 0.05595
}

Semantic roles & 50–950 ramp

primary
#631E90
secondary
#79BD4D
accent
#E83F82
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #631E90

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

Preview Lab → · Contrast checker → · Palette generator →

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