#631689#631689

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

Color values

HEX#631689
RGBrgb(99, 22, 137)
HSLhsl(280, 72%, 31%)
HSVhsv(280, 84%, 54%)
CMYKcmyk(27.7%, 83.9%, 0%, 46.3%)
CIE-LABlab(26.83, 51.02, -47.15)
CIE-LCHlch(26.83, 69.47, 317.25°)
OKLaboklab(39.24% 0.1156 -0.1338)
OKLCHoklch(39.24% 0.177 310.8)
XYZxyz(9.9470, 5.0329, 24.1095)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631689 #3C8916
analogous
#291689 #631689 #891675
triadic
#631689 #896316 #168963
tetradic
#631689 #892916 #3C8916 #167589
square
#631689 #892916 #3C8916 #167589
split-complementary
#631689 #758916 #168929
monochromatic
#170520 #3D0E54 #631689 #891EBE #A93ADF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##631689#FFFFFF#000000##FFFFFF
##6316891.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)
#003C8C
Deuteranopia (green-blind)
#004187
Tritanopia (blue-blind)
#5E3451
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #631689;
/* rgb */ color: rgb(99, 22, 137);
/* oklch */ color: oklch(39.2% 0.177 310.8);
Tailwind
colors: {
  custom: {
    50: '#945fac',
    500: '#631689',
    950: '#000000',
  },
}
SCSS
$custom: #631689;
$custom-light: #945fac;
$custom-dark: #000000;
JSON
{
  "hex": "#631689",
  "rgb": {
    "r": 99,
    "g": 22,
    "b": 137
  },
  "hsl": {
    "h": 280.174,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.39244,
    "c": 0.17682,
    "h": 310.8
  },
  "luminance": 0.05033
}

Semantic roles & 50–950 ramp

primary
#631689
secondary
#68BD3E
accent
#EF3975
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #631689

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

Preview Lab → · Contrast checker → · Palette generator →

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