#631882#631882

#631882 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.8% C 0.168 H 313.3°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#631882
RGBrgb(99, 24, 130)
HSLhsl(282, 69%, 30%)
HSVhsv(282, 82%, 51%)
CMYKcmyk(23.8%, 81.5%, 0%, 49%)
CIE-LABlab(26.50, 48.86, -43.30)
CIE-LCHlch(26.50, 65.29, 318.45°)
OKLaboklab(38.84% 0.1156 -0.1225)
OKLCHoklch(38.84% 0.168 313.3)
XYZxyz(9.5008, 4.9179, 21.5635)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631882 #378218
analogous
#2E1882 #631882 #82186C
triadic
#631882 #826318 #188263
tetradic
#631882 #822E18 #378218 #186C82
square
#631882 #822E18 #378218 #186C82
split-complementary
#631882 #6C8218 #18822E
monochromatic
#14051B #3C0E4E #631882 #8A22B6 #AC3ADB

Accessibility & contrast

On white

10.59
#631882 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#631882 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631882
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631882#FFFFFF#000000##FFFFFF
##6318821.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B85
Deuteranopia (green-blind)
#094080
Tritanopia (blue-blind)
#60324D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #631882;
/* rgb */ color: rgb(99, 24, 130);
/* oklch */ color: oklch(38.8% 0.168 313.3);
Tailwind
colors: {
  custom: {
    50: '#935fa7',
    500: '#631882',
    950: '#000000',
  },
}
SCSS
$custom: #631882;
$custom-light: #935fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#631882",
  "rgb": {
    "r": 99,
    "g": 24,
    "b": 130
  },
  "hsl": {
    "h": 282.453,
    "s": 68.831,
    "l": 30.196
  },
  "oklch": {
    "l": 0.3884,
    "c": 0.16846,
    "h": 313.3
  },
  "luminance": 0.04918
}

Semantic roles & 50–950 ramp

primary
#631882
secondary
#62B640
accent
#EC3C6F
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #631882

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

Preview Lab → · Contrast checker → · Palette generator →

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