#631A9F#631A9F

#631A9F is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.4% C 0.194 H 303.2°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#631A9F
RGBrgb(99, 26, 159)
HSLhsl(273, 72%, 36%)
HSVhsv(273, 84%, 62%)
CMYKcmyk(37.7%, 83.6%, 0%, 37.6%)
CIE-LABlab(29.14, 54.64, -56.93)
CIE-LCHlch(29.14, 78.91, 313.82°)
OKLaboklab(41.43% 0.1062 -0.1625)
OKLCHoklch(41.43% 0.194 303.2)
XYZxyz(11.7715, 5.8946, 33.3118)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631A9F #569F1A
analogous
#201A9F #631A9F #9F1A99
triadic
#631A9F #9F631A #1A9F63
tetradic
#631A9F #9F201A #569F1A #1A999F
square
#631A9F #9F201A #569F1A #1A999F
split-complementary
#631A9F #999F1A #1A9F20
monochromatic
#220936 #42116A #631A9F #8423D4 #A151E3

Accessibility & contrast

On white

9.64
#631A9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#631A9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631A9F
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631A9F#FFFFFF#000000##FFFFFF
##631A9F1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#00449D
Tritanopia (blue-blind)
#56405E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #631a9f;
/* rgb */ color: rgb(99, 26, 159);
/* oklch */ color: oklch(41.4% 0.194 303.2);
Tailwind
colors: {
  custom: {
    50: '#9662bc',
    500: '#631a9f',
    950: '#000000',
  },
}
SCSS
$custom: #631a9f;
$custom-light: #9662bc;
$custom-dark: #000000;
JSON
{
  "hex": "#631a9f",
  "rgb": {
    "r": 99,
    "g": 26,
    "b": 159
  },
  "hsl": {
    "h": 272.932,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.41434,
    "c": 0.19417,
    "h": 303.2
  },
  "luminance": 0.05895
}

Semantic roles & 50–950 ramp

primary
#631A9F
secondary
#85C550
accent
#EF398B
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #631A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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