#631997#631997

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

Color values

HEX#631997
RGBrgb(99, 25, 151)
HSLhsl(275, 72%, 35%)
HSVhsv(275, 83%, 59%)
CMYKcmyk(34.4%, 83.4%, 0%, 40.8%)
CIE-LABlab(28.33, 53.14, -53.37)
CIE-LCHlch(28.33, 75.31, 314.88°)
OKLaboklab(40.66% 0.1094 -0.1521)
OKLCHoklch(40.66% 0.187 305.7)
XYZxyz(11.0779, 5.5824, 29.7661)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631997 #4D9719
analogous
#241997 #631997 #97198C
triadic
#631997 #976319 #199763
tetradic
#631997 #972419 #4D9719 #198C97
square
#631997 #972419 #4D9719 #198C97
split-complementary
#631997 #8C9719 #199724
monochromatic
#1E082E #411062 #631997 #8522CC #A249E1

Accessibility & contrast

On white

9.92
#631997 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#631997 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631997
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631997#FFFFFF#000000##FFFFFF
##6319971.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #631997;
/* rgb */ color: rgb(99, 25, 151);
/* oklch */ color: oklch(40.7% 0.187 305.7);
Tailwind
colors: {
  custom: {
    50: '#9561b7',
    500: '#631997',
    950: '#000000',
  },
}
SCSS
$custom: #631997;
$custom-light: #9561b7;
$custom-dark: #000000;
JSON
{
  "hex": "#631997",
  "rgb": {
    "r": 99,
    "g": 25,
    "b": 151
  },
  "hsl": {
    "h": 275.238,
    "s": 71.591,
    "l": 34.51
  },
  "oklch": {
    "l": 0.40656,
    "c": 0.18735,
    "h": 305.7
  },
  "luminance": 0.05582
}

Semantic roles & 50–950 ramp

primary
#631997
secondary
#7BC349
accent
#EE3984
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #631997

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

Preview Lab → · Contrast checker → · Palette generator →

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