#631C7D#631C7D

#631C7D is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.8% C 0.159 H 315.1°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#631C7D
RGBrgb(99, 28, 125)
HSLhsl(284, 63%, 30%)
HSVhsv(284, 78%, 49%)
CMYKcmyk(20.8%, 77.6%, 0%, 51%)
CIE-LABlab(26.63, 46.33, -39.94)
CIE-LCHlch(26.63, 61.16, 319.24°)
OKLaboklab(38.82% 0.1129 -0.1126)
OKLCHoklch(38.82% 0.159 315.1)
XYZxyz(9.2619, 4.9642, 19.8684)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631C7D #367D1C
analogous
#331C7D #631C7D #7D1C66
triadic
#631C7D #7D631C #1C7D63
tetradic
#631C7D #7D331C #367D1C #1C667D
square
#631C7D #7D331C #367D1C #1C667D
split-complementary
#631C7D #667D1C #1C7D33
monochromatic
#140619 #3B114B #631C7D #8B27AF #AC3FD4

Accessibility & contrast

On white

10.54
#631C7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#631C7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631C7D
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631C7D#FFFFFF#000000##FFFFFF
##631C7D1.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B80
Deuteranopia (green-blind)
#18417B
Tritanopia (blue-blind)
#61314B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #631c7d;
/* rgb */ color: rgb(99, 28, 125);
/* oklch */ color: oklch(38.8% 0.159 315.1);
Tailwind
colors: {
  custom: {
    50: '#9360a3',
    500: '#631c7d',
    950: '#000000',
  },
}
SCSS
$custom: #631c7d;
$custom-light: #9360a3;
$custom-dark: #000000;
JSON
{
  "hex": "#631c7d",
  "rgb": {
    "r": 99,
    "g": 28,
    "b": 125
  },
  "hsl": {
    "h": 283.918,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.38815,
    "c": 0.15948,
    "h": 315.1
  },
  "luminance": 0.04964
}

Semantic roles & 50–950 ramp

primary
#631C7D
secondary
#61B144
accent
#E6416E
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0D050F
muted
#7E797F

Preview Lab

Preview with #631C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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