#631A7D#631A7D

#631A7D is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.6% C 0.162 H 315.2°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#631A7D
RGBrgb(99, 26, 125)
HSLhsl(284, 66%, 30%)
HSVhsv(284, 79%, 49%)
CMYKcmyk(20.8%, 79.2%, 0%, 51%)
CIE-LABlab(26.37, 47.08, -40.36)
CIE-LCHlch(26.37, 62.02, 319.40°)
OKLaboklab(38.63% 0.1148 -0.1139)
OKLCHoklch(38.63% 0.162 315.2)
XYZxyz(9.2161, 4.8725, 19.8531)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631A7D #347D1A
analogous
#311A7D #631A7D #7D1A66
triadic
#631A7D #7D631A #1A7D63
tetradic
#631A7D #7D311A #347D1A #1A667D
square
#631A7D #7D311A #347D1A #1A667D
split-complementary
#631A7D #667D1A #1A7D31
monochromatic
#140519 #3B0F4A #631A7D #8B25B0 #AE3BD6

Accessibility & contrast

On white

10.64
#631A7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#631A7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631A7D
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631A7D#FFFFFF#000000##FFFFFF
##631A7D1.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A80
Deuteranopia (green-blind)
#16407B
Tritanopia (blue-blind)
#61304B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #631a7d;
/* rgb */ color: rgb(99, 26, 125);
/* oklch */ color: oklch(38.6% 0.162 315.2);
Tailwind
colors: {
  custom: {
    50: '#9360a3',
    500: '#631a7d',
    950: '#000000',
  },
}
SCSS
$custom: #631a7d;
$custom-light: #9360a3;
$custom-dark: #000000;
JSON
{
  "hex": "#631a7d",
  "rgb": {
    "r": 99,
    "g": 26,
    "b": 125
  },
  "hsl": {
    "h": 284.242,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.38628,
    "c": 0.16171,
    "h": 315.2
  },
  "luminance": 0.04872
}

Semantic roles & 50–950 ramp

primary
#631A7D
secondary
#5FB142
accent
#E93F6C
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0D050F
muted
#7E797F

Preview Lab

Preview with #631A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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