#631885#631885

#631885 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 39.1% C 0.171 H 312.2°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#631885
RGBrgb(99, 24, 133)
HSLhsl(281, 69%, 31%)
HSVhsv(281, 82%, 52%)
CMYKcmyk(25.6%, 82%, 0%, 47.8%)
CIE-LABlab(26.73, 49.50, -44.81)
CIE-LCHlch(26.73, 66.77, 317.85°)
OKLaboklab(39.08% 0.115 -0.1269)
OKLCHoklch(39.08% 0.171 312.2)
XYZxyz(9.7051, 4.9997, 22.6395)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631885 #3A8518
analogous
#2C1885 #631885 #851870
triadic
#631885 #856318 #188563
tetradic
#631885 #852C18 #3A8518 #187085
square
#631885 #852C18 #3A8518 #187085
split-complementary
#631885 #708518 #18852C
monochromatic
#16051D #3C0F51 #631885 #8A21B9 #AA3CDC

Accessibility & contrast

On white

10.50
#631885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#631885 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631885
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631885#FFFFFF#000000##FFFFFF
##6318851.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C88
Deuteranopia (green-blind)
#014183
Tritanopia (blue-blind)
#5F334F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #631885;
/* rgb */ color: rgb(99, 24, 133);
/* oklch */ color: oklch(39.1% 0.171 312.2);
Tailwind
colors: {
  custom: {
    50: '#945fa9',
    500: '#631885',
    950: '#000000',
  },
}
SCSS
$custom: #631885;
$custom-light: #945fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#631885",
  "rgb": {
    "r": 99,
    "g": 24,
    "b": 133
  },
  "hsl": {
    "h": 281.284,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39078,
    "c": 0.17126,
    "h": 312.2
  },
  "luminance": 0.04999
}

Semantic roles & 50–950 ramp

primary
#631885
secondary
#66B940
accent
#EC3C73
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #631885

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

Preview Lab → · Contrast checker → · Palette generator →

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