#631789#631789

#631789 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.3% C 0.176 H 310.7°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#631789
RGBrgb(99, 23, 137)
HSLhsl(280, 71%, 31%)
HSVhsv(280, 83%, 54%)
CMYKcmyk(27.7%, 83.2%, 0%, 46.3%)
CIE-LABlab(26.94, 50.70, -46.98)
CIE-LCHlch(26.94, 69.12, 317.18°)
OKLaboklab(39.32% 0.1148 -0.1333)
OKLCHoklch(39.32% 0.176 310.7)
XYZxyz(9.9665, 5.0718, 24.1160)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631789 #3D8917
analogous
#2A1789 #631789 #891776
triadic
#631789 #896317 #178963
tetradic
#631789 #892A17 #3D8917 #177689
square
#631789 #892A17 #3D8917 #177689
split-complementary
#631789 #768917 #17892A
monochromatic
#170520 #3D0E55 #631789 #8920BD #A83CDE

Accessibility & contrast

On white

10.42
#631789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #631789
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631789#FFFFFF#000000##FFFFFF
##6317891.0010.422.0110.42
#FFFFFF10.421.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8C
Deuteranopia (green-blind)
#004187
Tritanopia (blue-blind)
#5E3551
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #631789;
/* rgb */ color: rgb(99, 23, 137);
/* oklch */ color: oklch(39.3% 0.176 310.7);
Tailwind
colors: {
  custom: {
    50: '#945fac',
    500: '#631789',
    950: '#000000',
  },
}
SCSS
$custom: #631789;
$custom-light: #945fac;
$custom-dark: #000000;
JSON
{
  "hex": "#631789",
  "rgb": {
    "r": 99,
    "g": 23,
    "b": 137
  },
  "hsl": {
    "h": 280,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.39321,
    "c": 0.17593,
    "h": 310.7
  },
  "luminance": 0.05072
}

Semantic roles & 50–950 ramp

primary
#631789
secondary
#69BD3F
accent
#EE3A76
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #631789

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

Preview Lab → · Contrast checker → · Palette generator →

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