#631B89#631B89

#631B89 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.7% C 0.172 H 310.4°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#631B89
RGBrgb(99, 27, 137)
HSLhsl(279, 67%, 32%)
HSVhsv(279, 80%, 54%)
CMYKcmyk(27.7%, 80.3%, 0%, 46.3%)
CIE-LABlab(27.42, 49.31, -46.20)
CIE-LCHlch(27.42, 67.57, 316.87°)
OKLaboklab(39.66% 0.1115 -0.131)
OKLCHoklch(39.66% 0.172 310.4)
XYZxyz(10.0520, 5.2429, 24.1445)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631B89 #41891B
analogous
#2C1B89 #631B89 #891B78
triadic
#631B89 #89631B #1B8963
tetradic
#631B89 #892C1B #41891B #1B7889
square
#631B89 #892C1B #41891B #1B7889
split-complementary
#631B89 #78891B #1B892C
monochromatic
#190723 #3E1156 #631B89 #8825BC #A644DA

Accessibility & contrast

On white

10.25
#631B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#631B89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631B89
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631B89#FFFFFF#000000##FFFFFF
##631B891.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8C
Deuteranopia (green-blind)
#004287
Tritanopia (blue-blind)
#5E3652
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #631b89;
/* rgb */ color: rgb(99, 27, 137);
/* oklch */ color: oklch(39.7% 0.172 310.4);
Tailwind
colors: {
  custom: {
    50: '#9461ac',
    500: '#631b89',
    950: '#000000',
  },
}
SCSS
$custom: #631b89;
$custom-light: #9461ac;
$custom-dark: #000000;
JSON
{
  "hex": "#631b89",
  "rgb": {
    "r": 99,
    "g": 27,
    "b": 137
  },
  "hsl": {
    "h": 279.273,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.39655,
    "c": 0.17208,
    "h": 310.4
  },
  "luminance": 0.05243
}

Semantic roles & 50–950 ramp

primary
#631B89
secondary
#6DBC44
accent
#EA3E79
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #631B89

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

Preview Lab → · Contrast checker → · Palette generator →

#631B89 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva