#631A8E#631A8E

#631A8E is a dark, vivid violet. Relative luminance 0.053; OKLCH L 40.0% C 0.178 H 308.7°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#631A8E
RGBrgb(99, 26, 142)
HSLhsl(278, 69%, 33%)
HSVhsv(278, 82%, 56%)
CMYKcmyk(30.3%, 81.7%, 0%, 44.3%)
CIE-LABlab(27.69, 50.78, -48.85)
CIE-LCHlch(27.69, 70.47, 316.11°)
OKLaboklab(39.98% 0.1112 -0.1388)
OKLCHoklch(39.98% 0.178 308.7)
XYZxyz(10.3965, 5.3446, 26.0699)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631A8E #458E1A
analogous
#291A8E #631A8E #8E1A7F
triadic
#631A8E #8E631A #1A8E63
tetradic
#631A8E #8E291A #458E1A #1A7F8E
square
#631A8E #8E291A #458E1A #1A7F8E
split-complementary
#631A8E #7F8E1A #1A8E29
monochromatic
#1B0727 #3F115A #631A8E #8723C2 #A545DD

Accessibility & contrast

On white

10.15
#631A8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#631A8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631A8E
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631A8E#FFFFFF#000000##FFFFFF
##631A8E1.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F91
Deuteranopia (green-blind)
#00428C
Tritanopia (blue-blind)
#5C3855
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #631a8e;
/* rgb */ color: rgb(99, 26, 142);
/* oklch */ color: oklch(40.0% 0.178 308.7);
Tailwind
colors: {
  custom: {
    50: '#9461b0',
    500: '#631a8e',
    950: '#000000',
  },
}
SCSS
$custom: #631a8e;
$custom-light: #9461b0;
$custom-dark: #000000;
JSON
{
  "hex": "#631a8e",
  "rgb": {
    "r": 99,
    "g": 26,
    "b": 142
  },
  "hsl": {
    "h": 277.759,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.39977,
    "c": 0.17786,
    "h": 308.7
  },
  "luminance": 0.05344
}

Semantic roles & 50–950 ramp

primary
#631A8E
secondary
#72BE45
accent
#EC3C7D
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #631A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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