#631C8A#631C8A

#631C8A is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.8% C 0.172 H 309.9°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#631C8A
RGBrgb(99, 28, 138)
HSLhsl(279, 66%, 33%)
HSVhsv(279, 80%, 54%)
CMYKcmyk(28.3%, 79.7%, 0%, 45.9%)
CIE-LABlab(27.62, 49.17, -46.49)
CIE-LCHlch(27.62, 67.66, 316.60°)
OKLaboklab(39.83% 0.1105 -0.1319)
OKLCHoklch(39.83% 0.172 309.9)
XYZxyz(10.1474, 5.3184, 24.5318)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631C8A #438A1C
analogous
#2C1C8A #631C8A #8A1C7A
triadic
#631C8A #8A631C #1C8A63
tetradic
#631C8A #8A2C1C #438A1C #1C7A8A
square
#631C8A #8A2C1C #438A1C #1C7A8A
split-complementary
#631C8A #7A8A1C #1C8A2C
monochromatic
#1A0724 #3F1257 #631C8A #8726BD #A647DA

Accessibility & contrast

On white

10.18
#631C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#631C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631C8A
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631C8A#FFFFFF#000000##FFFFFF
##631C8A1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #631c8a;
/* rgb */ color: rgb(99, 28, 138);
/* oklch */ color: oklch(39.8% 0.172 309.9);
Tailwind
colors: {
  custom: {
    50: '#9461ad',
    500: '#631c8a',
    950: '#000000',
  },
}
SCSS
$custom: #631c8a;
$custom-light: #9461ad;
$custom-dark: #000000;
JSON
{
  "hex": "#631c8a",
  "rgb": {
    "r": 99,
    "g": 28,
    "b": 138
  },
  "hsl": {
    "h": 278.727,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.39826,
    "c": 0.17203,
    "h": 309.9
  },
  "luminance": 0.05318
}

Semantic roles & 50–950 ramp

primary
#631C8A
secondary
#70BB46
accent
#E93F7B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #631C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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