#631AA1#631AA1

#631AA1 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.6% C 0.196 H 302.6°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#631AA1
RGBrgb(99, 26, 161)
HSLhsl(272, 72%, 37%)
HSVhsv(272, 84%, 63%)
CMYKcmyk(38.5%, 83.9%, 0%, 36.9%)
CIE-LABlab(29.32, 55.10, -57.85)
CIE-LCHlch(29.32, 79.89, 313.60°)
OKLaboklab(41.61% 0.1056 -0.1653)
OKLCHoklch(41.61% 0.196 302.6)
XYZxyz(11.9465, 5.9646, 34.2332)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631AA1 #58A11A
analogous
#1F1AA1 #631AA1 #A11A9C
triadic
#631AA1 #A1631A #1AA163
tetradic
#631AA1 #A11F1A #58A11A #1A9CA1
square
#631AA1 #A11F1A #58A11A #1A9CA1
split-complementary
#631AA1 #9CA11A #1AA11F
monochromatic
#220938 #43116C #631AA1 #8323D6 #A152E3

Accessibility & contrast

On white

9.58
#631AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#631AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631AA1
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631AA1#FFFFFF#000000##FFFFFF
##631AA11.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A5
Deuteranopia (green-blind)
#00459E
Tritanopia (blue-blind)
#564160
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #631aa1;
/* rgb */ color: rgb(99, 26, 161);
/* oklch */ color: oklch(41.6% 0.196 302.6);
Tailwind
colors: {
  custom: {
    50: '#9662be',
    500: '#631aa1',
    950: '#000000',
  },
}
SCSS
$custom: #631aa1;
$custom-light: #9662be;
$custom-dark: #000000;
JSON
{
  "hex": "#631aa1",
  "rgb": {
    "r": 99,
    "g": 26,
    "b": 161
  },
  "hsl": {
    "h": 272.444,
    "s": 72.193,
    "l": 36.667
  },
  "oklch": {
    "l": 0.41612,
    "c": 0.1961,
    "h": 302.6
  },
  "luminance": 0.05965
}

Semantic roles & 50–950 ramp

primary
#631AA1
secondary
#87C651
accent
#EF398C
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #631AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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