#631381#631381

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

Color values

HEX#631381
RGBrgb(99, 19, 129)
HSLhsl(284, 74%, 29%)
HSVhsv(284, 85%, 51%)
CMYKcmyk(23.3%, 85.3%, 0%, 49.4%)
CIE-LABlab(25.87, 50.24, -43.69)
CIE-LCHlch(25.87, 66.58, 318.99°)
OKLaboklab(38.38% 0.1198 -0.1236)
OKLCHoklch(38.38% 0.172 314.1)
XYZxyz(9.3402, 4.7037, 21.1805)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631381 #318113
analogous
#2C1381 #631381 #811368
triadic
#631381 #816313 #138163
tetradic
#631381 #812C13 #318113 #136881
square
#631381 #812C13 #318113 #136881
split-complementary
#631381 #688113 #13812C
monochromatic
#14041B #3A0B4C #631381 #8C1BB6 #B02EE0

Accessibility & contrast

On white

10.82
#631381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#631381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631381
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631381#FFFFFF#000000##FFFFFF
##6313811.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003984
Deuteranopia (green-blind)
#053F7F
Tritanopia (blue-blind)
#602F4C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #631381;
/* rgb */ color: rgb(99, 19, 129);
/* oklch */ color: oklch(38.4% 0.172 314.1);
Tailwind
colors: {
  custom: {
    50: '#945da6',
    500: '#631381',
    950: '#000000',
  },
}
SCSS
$custom: #631381;
$custom-light: #945da6;
$custom-dark: #000000;
JSON
{
  "hex": "#631381",
  "rgb": {
    "r": 99,
    "g": 19,
    "b": 129
  },
  "hsl": {
    "h": 283.636,
    "s": 74.324,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38377,
    "c": 0.17212,
    "h": 314.1
  },
  "luminance": 0.04703
}

Semantic roles & 50–950 ramp

primary
#631381
secondary
#5CB63A
accent
#F1376A
background
#F9F5FA
surface
#F2E9F4
border
#CCC5CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #631381

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

Preview Lab → · Contrast checker → · Palette generator →

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