#631C8D#631C8D

#631C8D is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.1% C 0.175 H 308.9°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#631C8D
RGBrgb(99, 28, 141)
HSLhsl(278, 67%, 33%)
HSVhsv(278, 80%, 55%)
CMYKcmyk(29.8%, 80.1%, 0%, 44.7%)
CIE-LABlab(27.86, 49.84, -47.96)
CIE-LCHlch(27.86, 69.17, 316.10°)
OKLaboklab(40.07% 0.1098 -0.1362)
OKLCHoklch(40.07% 0.175 308.9)
XYZxyz(10.3676, 5.4064, 25.6915)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631C8D #468D1C
analogous
#2A1C8D #631C8D #8D1C7E
triadic
#631C8D #8D631C #1C8D63
tetradic
#631C8D #8D2A1C #468D1C #1C7E8D
square
#631C8D #8D2A1C #468D1C #1C7E8D
split-complementary
#631C8D #7E8D1C #1C8D2A
monochromatic
#1B0827 #3F125A #631C8D #8726C0 #A449DB

Accessibility & contrast

On white

10.09
#631C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#631C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631C8D
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631C8D#FFFFFF#000000##FFFFFF
##631C8D1.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F90
Deuteranopia (green-blind)
#00438B
Tritanopia (blue-blind)
#5C3954
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #631c8d;
/* rgb */ color: rgb(99, 28, 141);
/* oklch */ color: oklch(40.1% 0.175 308.9);
Tailwind
colors: {
  custom: {
    50: '#9461af',
    500: '#631c8d',
    950: '#000000',
  },
}
SCSS
$custom: #631c8d;
$custom-light: #9461af;
$custom-dark: #000000;
JSON
{
  "hex": "#631c8d",
  "rgb": {
    "r": 99,
    "g": 28,
    "b": 141
  },
  "hsl": {
    "h": 277.699,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.40069,
    "c": 0.17493,
    "h": 308.9
  },
  "luminance": 0.05406
}

Semantic roles & 50–950 ramp

primary
#631C8D
secondary
#73BD48
accent
#EA3E7E
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #631C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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