#631D88#631D88

#631D88 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.8% C 0.169 H 310.6°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#631D88
RGBrgb(99, 29, 136)
HSLhsl(279, 65%, 32%)
HSVhsv(279, 79%, 53%)
CMYKcmyk(27.2%, 78.7%, 0%, 46.7%)
CIE-LABlab(27.60, 48.34, -45.28)
CIE-LCHlch(27.60, 66.24, 316.87°)
OKLaboklab(39.76% 0.11 -0.1283)
OKLCHoklch(39.76% 0.169 310.6)
XYZxyz(10.0280, 5.3092, 23.7843)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631D88 #42881D
analogous
#2D1D88 #631D88 #881D78
triadic
#631D88 #88631D #1D8863
tetradic
#631D88 #882D1D #42881D #1D7888
square
#631D88 #882D1D #42881D #1D7888
split-complementary
#631D88 #78881D #1D882D
monochromatic
#1A0723 #3E1256 #631D88 #8828BA #A648D8

Accessibility & contrast

On white

10.19
#631D88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#631D88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631D88
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631D88#FFFFFF#000000##FFFFFF
##631D881.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8B
Deuteranopia (green-blind)
#014286
Tritanopia (blue-blind)
#5E3752
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #631d88;
/* rgb */ color: rgb(99, 29, 136);
/* oklch */ color: oklch(39.8% 0.169 310.6);
Tailwind
colors: {
  custom: {
    50: '#9461ab',
    500: '#631d88',
    950: '#000000',
  },
}
SCSS
$custom: #631d88;
$custom-light: #9461ab;
$custom-dark: #000000;
JSON
{
  "hex": "#631d88",
  "rgb": {
    "r": 99,
    "g": 29,
    "b": 136
  },
  "hsl": {
    "h": 279.252,
    "s": 64.848,
    "l": 32.353
  },
  "oklch": {
    "l": 0.39759,
    "c": 0.16902,
    "h": 310.6
  },
  "luminance": 0.05309
}

Semantic roles & 50–950 ramp

primary
#631D88
secondary
#6FBA47
accent
#E8407A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #631D88

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

Preview Lab → · Contrast checker → · Palette generator →

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