#631799#631799

#631799 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.7% C 0.191 H 305.3°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#631799
RGBrgb(99, 23, 153)
HSLhsl(275, 74%, 35%)
HSVhsv(275, 85%, 60%)
CMYKcmyk(35.3%, 85%, 0%, 40%)
CIE-LABlab(28.29, 54.23, -54.67)
CIE-LCHlch(28.29, 77.00, 314.77°)
OKLaboklab(40.68% 0.1102 -0.1559)
OKLCHoklch(40.68% 0.191 305.3)
XYZxyz(11.2004, 5.5654, 30.6150)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631799 #4D9917
analogous
#221799 #631799 #99178E
triadic
#631799 #996317 #179963
tetradic
#631799 #992217 #4D9917 #178E99
square
#631799 #992217 #4D9917 #178E99
split-complementary
#631799 #8E9917 #179922
monochromatic
#1E072F #410F64 #631799 #851FCE #A247E3

Accessibility & contrast

On white

9.94
#631799 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#631799 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631799
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631799#FFFFFF#000000##FFFFFF
##6317991.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419C
Deuteranopia (green-blind)
#004397
Tritanopia (blue-blind)
#593C5A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #631799;
/* rgb */ color: rgb(99, 23, 153);
/* oklch */ color: oklch(40.7% 0.191 305.3);
Tailwind
colors: {
  custom: {
    50: '#9560b8',
    500: '#631799',
    950: '#000000',
  },
}
SCSS
$custom: #631799;
$custom-light: #9560b8;
$custom-dark: #000000;
JSON
{
  "hex": "#631799",
  "rgb": {
    "r": 99,
    "g": 23,
    "b": 153
  },
  "hsl": {
    "h": 275.077,
    "s": 73.864,
    "l": 34.51
  },
  "oklch": {
    "l": 0.40679,
    "c": 0.19089,
    "h": 305.3
  },
  "luminance": 0.05565
}

Semantic roles & 50–950 ramp

primary
#631799
secondary
#7BC547
accent
#F13784
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #631799

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

Preview Lab → · Contrast checker → · Palette generator →

#631799 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva