#631C98#631C98

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

Color values

HEX#631C98
RGBrgb(99, 28, 152)
HSLhsl(274, 69%, 35%)
HSVhsv(274, 82%, 60%)
CMYKcmyk(34.9%, 81.6%, 0%, 40.4%)
CIE-LABlab(28.77, 52.34, -53.26)
CIE-LCHlch(28.77, 74.67, 314.50°)
OKLaboklab(40.99% 0.1069 -0.1518)
OKLCHoklch(40.99% 0.186 305.1)
XYZxyz(11.2271, 5.7502, 30.2181)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631C98 #51981C
analogous
#251C98 #631C98 #981C8F
triadic
#631C98 #98631C #1C9863
tetradic
#631C98 #98251C #51981C #1C8F98
square
#631C98 #98251C #51981C #1C8F98
split-complementary
#631C98 #8F981C #1C9825
monochromatic
#200931 #411264 #631C98 #8526CC #A250DF

Accessibility & contrast

On white

9.77
#631C98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #631C98
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631C98#FFFFFF#000000##FFFFFF
##631C981.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429B
Deuteranopia (green-blind)
#004496
Tritanopia (blue-blind)
#593D5B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #631c98;
/* rgb */ color: rgb(99, 28, 152);
/* oklch */ color: oklch(41.0% 0.186 305.1);
Tailwind
colors: {
  custom: {
    50: '#9562b7',
    500: '#631c98',
    950: '#000000',
  },
}
SCSS
$custom: #631c98;
$custom-light: #9562b7;
$custom-dark: #000000;
JSON
{
  "hex": "#631c98",
  "rgb": {
    "r": 99,
    "g": 28,
    "b": 152
  },
  "hsl": {
    "h": 274.355,
    "s": 68.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.40989,
    "c": 0.18564,
    "h": 305.1
  },
  "luminance": 0.0575
}

Semantic roles & 50–950 ramp

primary
#631C98
secondary
#80C14E
accent
#EC3C87
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #631C98

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

Preview Lab → · Contrast checker → · Palette generator →

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