#631C8C#631C8C

#631C8C is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.0% C 0.174 H 309.2°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#631C8C
RGBrgb(99, 28, 140)
HSLhsl(278, 67%, 33%)
HSVhsv(278, 80%, 55%)
CMYKcmyk(29.3%, 80%, 0%, 45.1%)
CIE-LABlab(27.78, 49.61, -47.47)
CIE-LCHlch(27.78, 68.67, 316.26°)
OKLaboklab(39.99% 0.11 -0.1348)
OKLCHoklch(39.99% 0.174 309.2)
XYZxyz(10.2935, 5.3768, 25.3014)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631C8C #458C1C
analogous
#2B1C8C #631C8C #8C1C7D
triadic
#631C8C #8C631C #1C8C63
tetradic
#631C8C #8C2B1C #458C1C #1C7D8C
square
#631C8C #8C2B1C #458C1C #1C7D8C
split-complementary
#631C8C #7D8C1C #1C8C2B
monochromatic
#1B0826 #3F1259 #631C8C #8726BF #A548DA

Accessibility & contrast

On white

10.12
#631C8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #631C8C
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631C8C#FFFFFF#000000##FFFFFF
##631C8C1.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8F
Deuteranopia (green-blind)
#00428A
Tritanopia (blue-blind)
#5D3854
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #631c8c;
/* rgb */ color: rgb(99, 28, 140);
/* oklch */ color: oklch(40.0% 0.174 309.2);
Tailwind
colors: {
  custom: {
    50: '#9461ae',
    500: '#631c8c',
    950: '#000000',
  },
}
SCSS
$custom: #631c8c;
$custom-light: #9461ae;
$custom-dark: #000000;
JSON
{
  "hex": "#631c8c",
  "rgb": {
    "r": 99,
    "g": 28,
    "b": 140
  },
  "hsl": {
    "h": 278.036,
    "s": 66.667,
    "l": 32.941
  },
  "oklch": {
    "l": 0.39987,
    "c": 0.17396,
    "h": 309.2
  },
  "luminance": 0.05377
}

Semantic roles & 50–950 ramp

primary
#631C8C
secondary
#72BC48
accent
#EA3E7D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #631C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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