#631C8B#631C8B

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

Color values

HEX#631C8B
RGBrgb(99, 28, 139)
HSLhsl(278, 66%, 33%)
HSVhsv(278, 80%, 55%)
CMYKcmyk(28.8%, 79.9%, 0%, 45.5%)
CIE-LABlab(27.70, 49.39, -46.98)
CIE-LCHlch(27.70, 68.16, 316.43°)
OKLaboklab(39.91% 0.1102 -0.1333)
OKLCHoklch(39.91% 0.173 309.6)
XYZxyz(10.2201, 5.3474, 24.9149)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631C8B #448B1C
analogous
#2B1C8B #631C8B #8B1C7C
triadic
#631C8B #8B631C #1C8B63
tetradic
#631C8B #8B2B1C #448B1C #1C7C8B
square
#631C8B #8B2B1C #448B1C #1C7C8B
split-complementary
#631C8B #7C8B1C #1C8B2B
monochromatic
#1A0725 #3F1258 #631C8B #8726BE #A547DA

Accessibility & contrast

On white

10.15
#631C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#631C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631C8B
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631C8B#FFFFFF#000000##FFFFFF
##631C8B1.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8E
Deuteranopia (green-blind)
#004289
Tritanopia (blue-blind)
#5D3853
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #631c8b;
/* rgb */ color: rgb(99, 28, 139);
/* oklch */ color: oklch(39.9% 0.173 309.6);
Tailwind
colors: {
  custom: {
    50: '#9461ae',
    500: '#631c8b',
    950: '#000000',
  },
}
SCSS
$custom: #631c8b;
$custom-light: #9461ae;
$custom-dark: #000000;
JSON
{
  "hex": "#631c8b",
  "rgb": {
    "r": 99,
    "g": 28,
    "b": 139
  },
  "hsl": {
    "h": 278.378,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.39906,
    "c": 0.173,
    "h": 309.6
  },
  "luminance": 0.05347
}

Semantic roles & 50–950 ramp

primary
#631C8B
secondary
#71BC47
accent
#E93E7C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #631C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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