#631A94#631A94

#631A94 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.5% C 0.184 H 306.6°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#631A94
RGBrgb(99, 26, 148)
HSLhsl(276, 70%, 34%)
HSVhsv(276, 82%, 58%)
CMYKcmyk(33.1%, 82.4%, 0%, 42%)
CIE-LABlab(28.19, 52.13, -51.75)
CIE-LCHlch(28.19, 73.45, 315.21°)
OKLaboklab(40.48% 0.1096 -0.1473)
OKLCHoklch(40.48% 0.184 306.6)
XYZxyz(10.8591, 5.5297, 28.5065)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631A94 #4B941A
analogous
#261A94 #631A94 #941A88
triadic
#631A94 #94631A #1A9463
tetradic
#631A94 #94261A #4B941A #1A8894
square
#631A94 #94261A #4B941A #1A8894
split-complementary
#631A94 #88941A #1A9426
monochromatic
#1D082C #401160 #631A94 #8623C8 #A349DF

Accessibility & contrast

On white

9.97
#631A94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #631A94
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631A94#FFFFFF#000000##FFFFFF
##631A941.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004097
Deuteranopia (green-blind)
#004392
Tritanopia (blue-blind)
#5A3B58
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #631a94;
/* rgb */ color: rgb(99, 26, 148);
/* oklch */ color: oklch(40.5% 0.184 306.6);
Tailwind
colors: {
  custom: {
    50: '#9561b4',
    500: '#631a94',
    950: '#000000',
  },
}
SCSS
$custom: #631a94;
$custom-light: #9561b4;
$custom-dark: #000000;
JSON
{
  "hex": "#631a94",
  "rgb": {
    "r": 99,
    "g": 26,
    "b": 148
  },
  "hsl": {
    "h": 275.902,
    "s": 70.115,
    "l": 34.118
  },
  "oklch": {
    "l": 0.4048,
    "c": 0.1836,
    "h": 306.6
  },
  "luminance": 0.0553
}

Semantic roles & 50–950 ramp

primary
#631A94
secondary
#79C149
accent
#ED3B82
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #631A94

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

Preview Lab → · Contrast checker → · Palette generator →

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