#631886#631886

#631886 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 39.2% C 0.172 H 311.8°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#631886
RGBrgb(99, 24, 134)
HSLhsl(281, 70%, 31%)
HSVhsv(281, 82%, 53%)
CMYKcmyk(26.1%, 82.1%, 0%, 47.5%)
CIE-LABlab(26.81, 49.72, -45.30)
CIE-LCHlch(26.81, 67.26, 317.66°)
OKLaboklab(39.16% 0.1148 -0.1284)
OKLCHoklch(39.16% 0.172 311.8)
XYZxyz(9.7745, 5.0274, 23.0051)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631886 #3B8618
analogous
#2C1886 #631886 #861872
triadic
#631886 #866318 #188663
tetradic
#631886 #862C18 #3B8618 #187286
square
#631886 #862C18 #3B8618 #187286
split-complementary
#631886 #728618 #18862C
monochromatic
#16051E #3D0F52 #631886 #8921BA #A93CDC

Accessibility & contrast

On white

10.47
#631886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#631886 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631886
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631886#FFFFFF#000000##FFFFFF
##6318861.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C89
Deuteranopia (green-blind)
#004184
Tritanopia (blue-blind)
#5F3450
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #631886;
/* rgb */ color: rgb(99, 24, 134);
/* oklch */ color: oklch(39.2% 0.172 311.8);
Tailwind
colors: {
  custom: {
    50: '#945faa',
    500: '#631886',
    950: '#000000',
  },
}
SCSS
$custom: #631886;
$custom-light: #945faa;
$custom-dark: #000000;
JSON
{
  "hex": "#631886",
  "rgb": {
    "r": 99,
    "g": 24,
    "b": 134
  },
  "hsl": {
    "h": 280.909,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39158,
    "c": 0.1722,
    "h": 311.8
  },
  "luminance": 0.05027
}

Semantic roles & 50–950 ramp

primary
#631886
secondary
#67BA40
accent
#EC3B74
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #631886

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

Preview Lab → · Contrast checker → · Palette generator →

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