#631281#631281

#631281 is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.3% C 0.173 H 314.2°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#631281
RGBrgb(99, 18, 129)
HSLhsl(284, 76%, 29%)
HSVhsv(284, 86%, 51%)
CMYKcmyk(23.3%, 86%, 0%, 49.4%)
CIE-LABlab(25.77, 50.53, -43.85)
CIE-LCHlch(25.77, 66.90, 319.05°)
OKLaboklab(38.31% 0.1205 -0.1241)
OKLCHoklch(38.31% 0.173 314.2)
XYZxyz(9.3237, 4.6706, 21.1750)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631281 #308112
analogous
#2C1281 #631281 #811268
triadic
#631281 #816312 #128163
tetradic
#631281 #812C12 #308112 #126881
square
#631281 #812C12 #308112 #126881
split-complementary
#631281 #688112 #12812C
monochromatic
#15041B #3A0B4B #631281 #8C19B7 #B02CE2

Accessibility & contrast

On white

10.86
#631281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#631281 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631281
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631281#FFFFFF#000000##FFFFFF
##6312811.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #631281;
/* rgb */ color: rgb(99, 18, 129);
/* oklch */ color: oklch(38.3% 0.173 314.2);
Tailwind
colors: {
  custom: {
    50: '#945da6',
    500: '#631281',
    950: '#000000',
  },
}
SCSS
$custom: #631281;
$custom-light: #945da6;
$custom-dark: #000000;
JSON
{
  "hex": "#631281",
  "rgb": {
    "r": 99,
    "g": 18,
    "b": 129
  },
  "hsl": {
    "h": 283.784,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38308,
    "c": 0.17294,
    "h": 314.2
  },
  "luminance": 0.0467
}

Semantic roles & 50–950 ramp

primary
#631281
secondary
#5AB738
accent
#F23669
background
#F9F5FA
surface
#F2E9F4
border
#CCC5CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #631281

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

Preview Lab → · Contrast checker → · Palette generator →

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