#631D99#631D99

#631D99 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.2% C 0.186 H 304.7°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#631D99
RGBrgb(99, 29, 153)
HSLhsl(274, 68%, 36%)
HSVhsv(274, 81%, 60%)
CMYKcmyk(35.3%, 81%, 0%, 40%)
CIE-LABlab(28.98, 52.21, -53.53)
CIE-LCHlch(28.98, 74.78, 314.28°)
OKLaboklab(41.16% 0.1058 -0.1526)
OKLCHoklch(41.16% 0.186 304.7)
XYZxyz(11.3334, 5.8313, 30.6593)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631D99 #53991D
analogous
#251D99 #631D99 #991D91
triadic
#631D99 #99631D #1D9963
tetradic
#631D99 #99251D #53991D #1D9199
square
#631D99 #99251D #53991D #1D9199
split-complementary
#631D99 #91991D #1D9925
monochromatic
#200932 #421366 #631D99 #8427CC #A152DE

Accessibility & contrast

On white

9.69
#631D99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#631D99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631D99
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631D99#FFFFFF#000000##FFFFFF
##631D991.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439C
Deuteranopia (green-blind)
#004497
Tritanopia (blue-blind)
#593E5C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #631d99;
/* rgb */ color: rgb(99, 29, 153);
/* oklch */ color: oklch(41.2% 0.186 304.7);
Tailwind
colors: {
  custom: {
    50: '#9562b8',
    500: '#631d99',
    950: '#000000',
  },
}
SCSS
$custom: #631d99;
$custom-light: #9562b8;
$custom-dark: #000000;
JSON
{
  "hex": "#631d99",
  "rgb": {
    "r": 99,
    "g": 29,
    "b": 153
  },
  "hsl": {
    "h": 273.871,
    "s": 68.132,
    "l": 35.686
  },
  "oklch": {
    "l": 0.41161,
    "c": 0.18569,
    "h": 304.7
  },
  "luminance": 0.05831
}

Semantic roles & 50–950 ramp

primary
#631D99
secondary
#82C151
accent
#EB3D89
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #631D99

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

Preview Lab → · Contrast checker → · Palette generator →

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