#631D9E#631D9E

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

Color values

HEX#631D9E
RGBrgb(99, 29, 158)
HSLhsl(273, 69%, 37%)
HSVhsv(273, 82%, 62%)
CMYKcmyk(37.3%, 81.6%, 0%, 38%)
CIE-LABlab(29.41, 53.37, -55.88)
CIE-LCHlch(29.41, 77.27, 313.68°)
OKLaboklab(41.59% 0.1044 -0.1595)
OKLCHoklch(41.59% 0.191 303.2)
XYZxyz(11.7550, 6.0000, 32.8799)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631D9E #589E1D
analogous
#221D9E #631D9E #9E1D99
triadic
#631D9E #9E631D #1D9E63
tetradic
#631D9E #9E221D #589E1D #1D999E
square
#631D9E #9E221D #589E1D #1D999E
split-complementary
#631D9E #999E1D #1D9E22
monochromatic
#220A37 #43146A #631D9E #8326D2 #A156E0

Accessibility & contrast

On white

9.55
#631D9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#631D9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631D9E
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631D9E#FFFFFF#000000##FFFFFF
##631D9E1.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#00459C
Tritanopia (blue-blind)
#57415E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #631d9e;
/* rgb */ color: rgb(99, 29, 158);
/* oklch */ color: oklch(41.6% 0.191 303.2);
Tailwind
colors: {
  custom: {
    50: '#9663bc',
    500: '#631d9e',
    950: '#000000',
  },
}
SCSS
$custom: #631d9e;
$custom-light: #9663bc;
$custom-dark: #000000;
JSON
{
  "hex": "#631d9e",
  "rgb": {
    "r": 99,
    "g": 29,
    "b": 158
  },
  "hsl": {
    "h": 272.558,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.41593,
    "c": 0.1906,
    "h": 303.2
  },
  "luminance": 0.06
}

Semantic roles & 50–950 ramp

primary
#631D9E
secondary
#87C354
accent
#EC3C8C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #631D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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