#631B8A#631B8A

#631B8A is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.7% C 0.173 H 310.0°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#631B8A
RGBrgb(99, 27, 138)
HSLhsl(279, 67%, 32%)
HSVhsv(279, 80%, 54%)
CMYKcmyk(28.3%, 80.4%, 0%, 45.9%)
CIE-LABlab(27.50, 49.54, -46.69)
CIE-LCHlch(27.50, 68.07, 316.69°)
OKLaboklab(39.74% 0.1113 -0.1325)
OKLCHoklch(39.74% 0.173 310)
XYZxyz(10.1241, 5.2717, 24.5240)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631B8A #428A1B
analogous
#2C1B8A #631B8A #8A1B7A
triadic
#631B8A #8A631B #1B8A63
tetradic
#631B8A #8A2C1B #428A1B #1B7A8A
square
#631B8A #8A2C1B #428A1B #1B7A8A
split-complementary
#631B8A #7A8A1B #1B8A2C
monochromatic
#1A0724 #3E1157 #631B8A #8825BD #A645DB

Accessibility & contrast

On white

10.22
#631B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #631B8A
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631B8A#FFFFFF#000000##FFFFFF
##631B8A1.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8D
Deuteranopia (green-blind)
#004288
Tritanopia (blue-blind)
#5D3752
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #631b8a;
/* rgb */ color: rgb(99, 27, 138);
/* oklch */ color: oklch(39.7% 0.173 310.0);
Tailwind
colors: {
  custom: {
    50: '#9461ad',
    500: '#631b8a',
    950: '#000000',
  },
}
SCSS
$custom: #631b8a;
$custom-light: #9461ad;
$custom-dark: #000000;
JSON
{
  "hex": "#631b8a",
  "rgb": {
    "r": 99,
    "g": 27,
    "b": 138
  },
  "hsl": {
    "h": 278.919,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.39736,
    "c": 0.17305,
    "h": 310
  },
  "luminance": 0.05271
}

Semantic roles & 50–950 ramp

primary
#631B8A
secondary
#6FBC45
accent
#EA3E7A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #631B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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