#631E8A#631E8A

#631E8A is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.0% C 0.170 H 309.7°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#631E8A
RGBrgb(99, 30, 138)
HSLhsl(278, 64%, 33%)
HSVhsv(278, 78%, 54%)
CMYKcmyk(28.3%, 78.3%, 0%, 45.9%)
CIE-LABlab(27.89, 48.40, -46.05)
CIE-LCHlch(27.89, 66.81, 316.42°)
OKLaboklab(40.01% 0.1086 -0.1306)
OKLCHoklch(40.01% 0.17 309.7)
XYZxyz(10.1964, 5.4164, 24.5482)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631E8A #458A1E
analogous
#2D1E8A #631E8A #8A1E7B
triadic
#631E8A #8A631E #1E8A63
tetradic
#631E8A #8A2D1E #458A1E #1E7B8A
square
#631E8A #8A2D1E #458A1E #1E7B8A
split-complementary
#631E8A #7B8A1E #1E8A2D
monochromatic
#1B0825 #3F1358 #631E8A #8729BC #A54BD8

Accessibility & contrast

On white

10.08
#631E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#631E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631E8A
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631E8A#FFFFFF#000000##FFFFFF
##631E8A1.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8D
Deuteranopia (green-blind)
#004388
Tritanopia (blue-blind)
#5D3853
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #631e8a;
/* rgb */ color: rgb(99, 30, 138);
/* oklch */ color: oklch(40.0% 0.170 309.7);
Tailwind
colors: {
  custom: {
    50: '#9462ad',
    500: '#631e8a',
    950: '#000000',
  },
}
SCSS
$custom: #631e8a;
$custom-light: #9462ad;
$custom-dark: #000000;
JSON
{
  "hex": "#631e8a",
  "rgb": {
    "r": 99,
    "g": 30,
    "b": 138
  },
  "hsl": {
    "h": 278.333,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.40013,
    "c": 0.1699,
    "h": 309.7
  },
  "luminance": 0.05416
}

Semantic roles & 50–950 ramp

primary
#631E8A
secondary
#72BA4A
accent
#E7417D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #631E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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