#631D97#631D97

#631D97 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.0% C 0.184 H 305.4°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#631D97
RGBrgb(99, 29, 151)
HSLhsl(274, 68%, 35%)
HSVhsv(274, 81%, 59%)
CMYKcmyk(34.4%, 80.8%, 0%, 40.8%)
CIE-LABlab(28.81, 51.75, -52.58)
CIE-LCHlch(28.81, 73.77, 314.54°)
OKLaboklab(40.99% 0.1064 -0.1498)
OKLCHoklch(40.99% 0.184 305.4)
XYZxyz(11.1696, 5.7658, 29.7966)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631D97 #51971D
analogous
#261D97 #631D97 #971D8E
triadic
#631D97 #97631D #1D9763
tetradic
#631D97 #97261D #51971D #1D8E97
square
#631D97 #97261D #51971D #1D8E97
split-complementary
#631D97 #8E971D #1D9726
monochromatic
#200930 #411364 #631D97 #8527CA #A251DE

Accessibility & contrast

On white

9.75
#631D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#631D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631D97
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631D97#FFFFFF#000000##FFFFFF
##631D971.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429A
Deuteranopia (green-blind)
#004495
Tritanopia (blue-blind)
#593D5A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #631d97;
/* rgb */ color: rgb(99, 29, 151);
/* oklch */ color: oklch(41.0% 0.184 305.4);
Tailwind
colors: {
  custom: {
    50: '#9562b6',
    500: '#631d97',
    950: '#000000',
  },
}
SCSS
$custom: #631d97;
$custom-light: #9562b6;
$custom-dark: #000000;
JSON
{
  "hex": "#631d97",
  "rgb": {
    "r": 99,
    "g": 29,
    "b": 151
  },
  "hsl": {
    "h": 274.426,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.4099,
    "c": 0.18372,
    "h": 305.4
  },
  "luminance": 0.05766
}

Semantic roles & 50–950 ramp

primary
#631D97
secondary
#80C04F
accent
#EB3D87
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #631D97

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

Preview Lab → · Contrast checker → · Palette generator →

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