#631481#631481

#631481 is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.4% C 0.171 H 314.0°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#631481
RGBrgb(99, 20, 129)
HSLhsl(283, 73%, 29%)
HSVhsv(283, 84%, 51%)
CMYKcmyk(23.3%, 84.5%, 0%, 49.4%)
CIE-LABlab(25.98, 49.95, -43.52)
CIE-LCHlch(25.98, 66.25, 318.93°)
OKLaboklab(38.45% 0.1191 -0.1231)
OKLCHoklch(38.45% 0.171 314)
XYZxyz(9.3575, 4.7383, 21.1863)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631481 #328114
analogous
#2D1481 #631481 #811469
triadic
#631481 #816314 #148163
tetradic
#631481 #812D14 #328114 #146981
square
#631481 #812D14 #328114 #146981
split-complementary
#631481 #698114 #14812D
monochromatic
#14041A #3A0C4C #631481 #8C1CB6 #AF30DF

Accessibility & contrast

On white

10.78
#631481 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#631481 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631481
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631481#FFFFFF#000000##FFFFFF
##6314811.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003984
Deuteranopia (green-blind)
#063F7F
Tritanopia (blue-blind)
#60304C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #631481;
/* rgb */ color: rgb(99, 20, 129);
/* oklch */ color: oklch(38.4% 0.171 314.0);
Tailwind
colors: {
  custom: {
    50: '#945da6',
    500: '#631481',
    950: '#000000',
  },
}
SCSS
$custom: #631481;
$custom-light: #945da6;
$custom-dark: #000000;
JSON
{
  "hex": "#631481",
  "rgb": {
    "r": 99,
    "g": 20,
    "b": 129
  },
  "hsl": {
    "h": 283.486,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.38449,
    "c": 0.17126,
    "h": 314
  },
  "luminance": 0.04738
}

Semantic roles & 50–950 ramp

primary
#631481
secondary
#5DB63B
accent
#F0386B
background
#F9F5FA
surface
#F2E9F4
border
#CCC5CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #631481

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

Preview Lab → · Contrast checker → · Palette generator →

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