#631C8F#631C8F

#631C8F is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.2% C 0.177 H 308.2°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#631C8F
RGBrgb(99, 28, 143)
HSLhsl(277, 67%, 34%)
HSVhsv(277, 80%, 56%)
CMYKcmyk(30.8%, 80.4%, 0%, 43.9%)
CIE-LABlab(28.02, 50.29, -48.94)
CIE-LCHlch(28.02, 70.17, 315.78°)
OKLaboklab(40.23% 0.1093 -0.1391)
OKLCHoklch(40.23% 0.177 308.2)
XYZxyz(10.5177, 5.4665, 26.4823)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631C8F #488F1C
analogous
#291C8F #631C8F #8F1C81
triadic
#631C8F #8F631C #1C8F63
tetradic
#631C8F #8F291C #488F1C #1C818F
square
#631C8F #8F291C #488F1C #1C818F
split-complementary
#631C8F #818F1C #1C8F29
monochromatic
#1C0829 #40125C #631C8F #8626C2 #A44ADC

Accessibility & contrast

On white

10.03
#631C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#631C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631C8F
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631C8F#FFFFFF#000000##FFFFFF
##631C8F1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#00438D
Tritanopia (blue-blind)
#5C3956
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #631c8f;
/* rgb */ color: rgb(99, 28, 143);
/* oklch */ color: oklch(40.2% 0.177 308.2);
Tailwind
colors: {
  custom: {
    50: '#9461b1',
    500: '#631c8f',
    950: '#000000',
  },
}
SCSS
$custom: #631c8f;
$custom-light: #9461b1;
$custom-dark: #000000;
JSON
{
  "hex": "#631c8f",
  "rgb": {
    "r": 99,
    "g": 28,
    "b": 143
  },
  "hsl": {
    "h": 277.043,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.40233,
    "c": 0.17688,
    "h": 308.2
  },
  "luminance": 0.05466
}

Semantic roles & 50–950 ramp

primary
#631C8F
secondary
#76BE49
accent
#EA3E80
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #631C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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