#631B8E#631B8E

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

Color values

HEX#631B8E
RGBrgb(99, 27, 142)
HSLhsl(278, 68%, 33%)
HSVhsv(278, 81%, 56%)
CMYKcmyk(30.3%, 81%, 0%, 44.3%)
CIE-LABlab(27.82, 50.43, -48.66)
CIE-LCHlch(27.82, 70.07, 316.02°)
OKLaboklab(40.06% 0.1104 -0.1383)
OKLCHoklch(40.06% 0.177 308.6)
XYZxyz(10.4190, 5.3897, 26.0774)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631B8E #468E1B
analogous
#291B8E #631B8E #8E1B7F
triadic
#631B8E #8E631B #1B8E63
tetradic
#631B8E #8E291B #468E1B #1B7F8E
square
#631B8E #8E291B #468E1B #1B7F8E
split-complementary
#631B8E #7F8E1B #1B8E29
monochromatic
#1B0727 #3F115B #631B8E #8725C1 #A447DC

Accessibility & contrast

On white

10.11
#631B8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #631B8E
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631B8E#FFFFFF#000000##FFFFFF
##631B8E1.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #631b8e;
/* rgb */ color: rgb(99, 27, 142);
/* oklch */ color: oklch(40.1% 0.177 308.6);
Tailwind
colors: {
  custom: {
    50: '#9461b0',
    500: '#631b8e',
    950: '#000000',
  },
}
SCSS
$custom: #631b8e;
$custom-light: #9461b0;
$custom-dark: #000000;
JSON
{
  "hex": "#631b8e",
  "rgb": {
    "r": 99,
    "g": 27,
    "b": 142
  },
  "hsl": {
    "h": 277.565,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.40062,
    "c": 0.17689,
    "h": 308.6
  },
  "luminance": 0.0539
}

Semantic roles & 50–950 ramp

primary
#631B8E
secondary
#73BE47
accent
#EB3D7E
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #631B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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