#631A8F#631A8F

#631A8F is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.1% C 0.179 H 308.3°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#631A8F
RGBrgb(99, 26, 143)
HSLhsl(277, 69%, 33%)
HSVhsv(277, 82%, 56%)
CMYKcmyk(30.8%, 81.8%, 0%, 43.9%)
CIE-LABlab(27.78, 51.01, -49.34)
CIE-LCHlch(27.78, 70.97, 315.95°)
OKLaboklab(40.06% 0.1109 -0.1403)
OKLCHoklch(40.06% 0.179 308.3)
XYZxyz(10.4719, 5.3748, 26.4671)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631A8F #468F1A
analogous
#281A8F #631A8F #8F1A80
triadic
#631A8F #8F631A #1A8F63
tetradic
#631A8F #8F281A #468F1A #1A808F
square
#631A8F #8F281A #468F1A #1A808F
split-complementary
#631A8F #808F1A #1A8F28
monochromatic
#1B0727 #3F115B #631A8F #8723C3 #A446DD

Accessibility & contrast

On white

10.12
#631A8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #631A8F
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631A8F#FFFFFF#000000##FFFFFF
##631A8F1.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F92
Deuteranopia (green-blind)
#00428D
Tritanopia (blue-blind)
#5C3955
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #631a8f;
/* rgb */ color: rgb(99, 26, 143);
/* oklch */ color: oklch(40.1% 0.179 308.3);
Tailwind
colors: {
  custom: {
    50: '#9461b1',
    500: '#631a8f',
    950: '#000000',
  },
}
SCSS
$custom: #631a8f;
$custom-light: #9461b1;
$custom-dark: #000000;
JSON
{
  "hex": "#631a8f",
  "rgb": {
    "r": 99,
    "g": 26,
    "b": 143
  },
  "hsl": {
    "h": 277.436,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.4006,
    "c": 0.17881,
    "h": 308.3
  },
  "luminance": 0.05375
}

Semantic roles & 50–950 ramp

primary
#631A8F
secondary
#73BF46
accent
#EC3C7E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #631A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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