#631A99#631A99

#631A99 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.9% C 0.188 H 305.0°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#631A99
RGBrgb(99, 26, 153)
HSLhsl(274, 71%, 35%)
HSVhsv(274, 83%, 60%)
CMYKcmyk(35.3%, 83%, 0%, 40%)
CIE-LABlab(28.62, 53.26, -54.12)
CIE-LCHlch(28.62, 75.94, 314.54°)
OKLaboklab(40.91% 0.1081 -0.1543)
OKLCHoklch(40.91% 0.188 305)
XYZxyz(11.2634, 5.6914, 30.6360)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631A99 #50991A
analogous
#231A99 #631A99 #991A90
triadic
#631A99 #99631A #1A9963
tetradic
#631A99 #99231A #50991A #1A9099
square
#631A99 #99231A #50991A #1A9099
split-complementary
#631A99 #90991A #1A9923
monochromatic
#1F0830 #411165 #631A99 #8523CD #A24DE1

Accessibility & contrast

On white

9.82
#631A99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#631A99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631A99
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631A99#FFFFFF#000000##FFFFFF
##631A991.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429C
Deuteranopia (green-blind)
#004497
Tritanopia (blue-blind)
#593D5B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #631a99;
/* rgb */ color: rgb(99, 26, 153);
/* oklch */ color: oklch(40.9% 0.188 305.0);
Tailwind
colors: {
  custom: {
    50: '#9561b8',
    500: '#631a99',
    950: '#000000',
  },
}
SCSS
$custom: #631a99;
$custom-light: #9561b8;
$custom-dark: #000000;
JSON
{
  "hex": "#631a99",
  "rgb": {
    "r": 99,
    "g": 26,
    "b": 153
  },
  "hsl": {
    "h": 274.488,
    "s": 70.95,
    "l": 35.098
  },
  "oklch": {
    "l": 0.40908,
    "c": 0.1884,
    "h": 305
  },
  "luminance": 0.05691
}

Semantic roles & 50–950 ramp

primary
#631A99
secondary
#7FC34C
accent
#EE3A86
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #631A99

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

Preview Lab → · Contrast checker → · Palette generator →

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