#631982#631982

#631982 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.9% C 0.167 H 313.3°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#631982
RGBrgb(99, 25, 130)
HSLhsl(282, 68%, 30%)
HSVhsv(282, 81%, 51%)
CMYKcmyk(23.8%, 80.8%, 0%, 49%)
CIE-LABlab(26.62, 48.51, -43.11)
CIE-LCHlch(26.62, 64.90, 318.38°)
OKLaboklab(38.92% 0.1148 -0.1219)
OKLCHoklch(38.92% 0.167 313.3)
XYZxyz(9.5218, 4.9599, 21.5705)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631982 #388219
analogous
#2F1982 #631982 #82196C
triadic
#631982 #826319 #198263
tetradic
#631982 #822F19 #388219 #196C82
square
#631982 #822F19 #388219 #196C82
split-complementary
#631982 #6C8219 #19822F
monochromatic
#15051B #3C0F4F #631982 #8A23B5 #AB3CD9

Accessibility & contrast

On white

10.54
#631982 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#631982 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631982
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631982#FFFFFF#000000##FFFFFF
##6319821.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #631982;
/* rgb */ color: rgb(99, 25, 130);
/* oklch */ color: oklch(38.9% 0.167 313.3);
Tailwind
colors: {
  custom: {
    50: '#935fa7',
    500: '#631982',
    950: '#000000',
  },
}
SCSS
$custom: #631982;
$custom-light: #935fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#631982",
  "rgb": {
    "r": 99,
    "g": 25,
    "b": 130
  },
  "hsl": {
    "h": 282.286,
    "s": 67.742,
    "l": 30.392
  },
  "oklch": {
    "l": 0.38925,
    "c": 0.16746,
    "h": 313.3
  },
  "luminance": 0.0496
}

Semantic roles & 50–950 ramp

primary
#631982
secondary
#63B641
accent
#EB3D70
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #631982

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

Preview Lab → · Contrast checker → · Palette generator →

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