#631C8E#631C8E

#631C8E is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.2% C 0.176 H 308.5°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#631C8E
RGBrgb(99, 28, 142)
HSLhsl(277, 67%, 33%)
HSVhsv(277, 80%, 56%)
CMYKcmyk(30.3%, 80.3%, 0%, 44.3%)
CIE-LABlab(27.94, 50.06, -48.45)
CIE-LCHlch(27.94, 69.67, 315.94°)
OKLaboklab(40.15% 0.1095 -0.1377)
OKLCHoklch(40.15% 0.176 308.5)
XYZxyz(10.4423, 5.4363, 26.0852)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631C8E #478E1C
analogous
#2A1C8E #631C8E #8E1C80
triadic
#631C8E #8E631C #1C8E63
tetradic
#631C8E #8E2A1C #478E1C #1C808E
square
#631C8E #8E2A1C #478E1C #1C808E
split-complementary
#631C8E #808E1C #1C8E2A
monochromatic
#1C0828 #3F125B #631C8E #8726C1 #A449DB

Accessibility & contrast

On white

10.06
#631C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #631C8E
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631C8E#FFFFFF#000000##FFFFFF
##631C8E1.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F91
Deuteranopia (green-blind)
#00438C
Tritanopia (blue-blind)
#5C3955
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #631c8e;
/* rgb */ color: rgb(99, 28, 142);
/* oklch */ color: oklch(40.2% 0.176 308.5);
Tailwind
colors: {
  custom: {
    50: '#9461b0',
    500: '#631c8e',
    950: '#000000',
  },
}
SCSS
$custom: #631c8e;
$custom-light: #9461b0;
$custom-dark: #000000;
JSON
{
  "hex": "#631c8e",
  "rgb": {
    "r": 99,
    "g": 28,
    "b": 142
  },
  "hsl": {
    "h": 277.368,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.40151,
    "c": 0.17591,
    "h": 308.5
  },
  "luminance": 0.05436
}

Semantic roles & 50–950 ramp

primary
#631C8E
secondary
#75BD49
accent
#EA3E7F
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #631C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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