#631E8B#631E8B

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

Color values

HEX#631E8B
RGBrgb(99, 30, 139)
HSLhsl(278, 64%, 33%)
HSVhsv(278, 78%, 55%)
CMYKcmyk(28.8%, 78.4%, 0%, 45.5%)
CIE-LABlab(27.97, 48.62, -46.55)
CIE-LCHlch(27.97, 67.31, 316.25°)
OKLaboklab(40.09% 0.1084 -0.1321)
OKLCHoklch(40.09% 0.171 309.4)
XYZxyz(10.2691, 5.4455, 24.9312)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631E8B #468B1E
analogous
#2D1E8B #631E8B #8B1E7C
triadic
#631E8B #8B631E #1E8B63
tetradic
#631E8B #8B2D1E #468B1E #1E7C8B
square
#631E8B #8B2D1E #468B1E #1E7C8B
split-complementary
#631E8B #7C8B1E #1E8B2D
monochromatic
#1B0826 #3F1359 #631E8B #8729BD #A44BD8

Accessibility & contrast

On white

10.05
#631E8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #631E8B
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631E8B#FFFFFF#000000##FFFFFF
##631E8B1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8E
Deuteranopia (green-blind)
#004389
Tritanopia (blue-blind)
#5D3954
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #631e8b;
/* rgb */ color: rgb(99, 30, 139);
/* oklch */ color: oklch(40.1% 0.171 309.4);
Tailwind
colors: {
  custom: {
    50: '#9462ae',
    500: '#631e8b',
    950: '#000000',
  },
}
SCSS
$custom: #631e8b;
$custom-light: #9462ae;
$custom-dark: #000000;
JSON
{
  "hex": "#631e8b",
  "rgb": {
    "r": 99,
    "g": 30,
    "b": 139
  },
  "hsl": {
    "h": 277.982,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.40093,
    "c": 0.17089,
    "h": 309.4
  },
  "luminance": 0.05445
}

Semantic roles & 50–950 ramp

primary
#631E8B
secondary
#73BB4A
accent
#E7407E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #631E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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