#631989#631989

#631989 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.5% C 0.174 H 310.6°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#631989
RGBrgb(99, 25, 137)
HSLhsl(280, 69%, 32%)
HSVhsv(280, 82%, 54%)
CMYKcmyk(27.7%, 81.8%, 0%, 46.3%)
CIE-LABlab(27.17, 50.03, -46.60)
CIE-LCHlch(27.17, 68.37, 317.03°)
OKLaboklab(39.48% 0.1132 -0.1322)
OKLCHoklch(39.48% 0.174 310.6)
XYZxyz(10.0077, 5.1543, 24.1297)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631989 #3F8919
analogous
#2B1989 #631989 #891977
triadic
#631989 #896319 #198963
tetradic
#631989 #892B19 #3F8919 #197789
square
#631989 #892B19 #3F8919 #197789
split-complementary
#631989 #778919 #19892B
monochromatic
#180621 #3E1055 #631989 #8822BD #A740DC

Accessibility & contrast

On white

10.34
#631989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#631989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631989
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631989#FFFFFF#000000##FFFFFF
##6319891.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #631989;
/* rgb */ color: rgb(99, 25, 137);
/* oklch */ color: oklch(39.5% 0.174 310.6);
Tailwind
colors: {
  custom: {
    50: '#9460ac',
    500: '#631989',
    950: '#000000',
  },
}
SCSS
$custom: #631989;
$custom-light: #9460ac;
$custom-dark: #000000;
JSON
{
  "hex": "#631989",
  "rgb": {
    "r": 99,
    "g": 25,
    "b": 137
  },
  "hsl": {
    "h": 279.643,
    "s": 69.136,
    "l": 31.765
  },
  "oklch": {
    "l": 0.39483,
    "c": 0.17406,
    "h": 310.6
  },
  "luminance": 0.05154
}

Semantic roles & 50–950 ramp

primary
#631989
secondary
#6BBC41
accent
#EC3C78
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #631989

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

Preview Lab → · Contrast checker → · Palette generator →

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