#631D8F#631D8F

#631D8F is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.3% C 0.176 H 308.1°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#631D8F
RGBrgb(99, 29, 143)
HSLhsl(277, 66%, 34%)
HSVhsv(277, 80%, 56%)
CMYKcmyk(30.8%, 79.7%, 0%, 43.9%)
CIE-LABlab(28.15, 49.91, -48.73)
CIE-LCHlch(28.15, 69.76, 315.69°)
OKLaboklab(40.32% 0.1084 -0.1385)
OKLCHoklch(40.32% 0.176 308.1)
XYZxyz(10.5418, 5.5147, 26.4904)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631D8F #498F1D
analogous
#2A1D8F #631D8F #8F1D82
triadic
#631D8F #8F631D #1D8F63
tetradic
#631D8F #8F2A1D #498F1D #1D828F
square
#631D8F #8F2A1D #498F1D #1D828F
split-complementary
#631D8F #828F1D #1D8F2A
monochromatic
#1D0829 #40135C #631D8F #8627C2 #A34CDB

Accessibility & contrast

On white

9.99
#631D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#631D8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631D8F
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631D8F#FFFFFF#000000##FFFFFF
##631D8F1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#00438D
Tritanopia (blue-blind)
#5C3A56
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #631d8f;
/* rgb */ color: rgb(99, 29, 143);
/* oklch */ color: oklch(40.3% 0.176 308.1);
Tailwind
colors: {
  custom: {
    50: '#9462b1',
    500: '#631d8f',
    950: '#000000',
  },
}
SCSS
$custom: #631d8f;
$custom-light: #9462b1;
$custom-dark: #000000;
JSON
{
  "hex": "#631d8f",
  "rgb": {
    "r": 99,
    "g": 29,
    "b": 143
  },
  "hsl": {
    "h": 276.842,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.40323,
    "c": 0.17587,
    "h": 308.1
  },
  "luminance": 0.05515
}

Semantic roles & 50–950 ramp

primary
#631D8F
secondary
#77BD4B
accent
#E93F80
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #631D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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