#631156#631156

#631156 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.2% C 0.138 H 335.6°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#631156
RGBrgb(99, 17, 86)
HSLhsl(310, 71%, 23%)
HSVhsv(310, 83%, 39%)
CMYKcmyk(0%, 82.8%, 13.1%, 61.2%)
CIE-LABlab(22.74, 42.84, -20.81)
CIE-LCHlch(22.74, 47.63, 334.09°)
OKLaboklab(35.23% 0.1255 -0.0568)
OKLCHoklch(35.23% 0.138 335.6)
XYZxyz(7.0259, 3.7261, 9.1515)
Luminance0.0372 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631156 #11631E
analogous
#471163 #631156 #63112D
triadic
#631156 #566311 #115663
tetradic
#631156 #634711 #11631E #112D63
square
#631156 #634711 #11631E #112D63
split-complementary
#631156 #2D6311 #116347
monochromatic
#1A0417 #2F0829 #631156 #971A83 #CB23B1

Accessibility & contrast

On white

12.03
#631156 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#631156 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631156
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631156#FFFFFF#000000##FFFFFF
##6311561.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122F58
Deuteranopia (green-blind)
#303B54
Tritanopia (blue-blind)
#681833
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #631156;
/* rgb */ color: rgb(99, 17, 86);
/* oklch */ color: oklch(35.2% 0.138 335.6);
Tailwind
colors: {
  custom: {
    50: '#935a86',
    500: '#631156',
    950: '#000000',
  },
}
SCSS
$custom: #631156;
$custom-light: #935a86;
$custom-dark: #000000;
JSON
{
  "hex": "#631156",
  "rgb": {
    "r": 99,
    "g": 17,
    "b": 86
  },
  "hsl": {
    "h": 309.512,
    "s": 70.69,
    "l": 22.745
  },
  "oklch": {
    "l": 0.35232,
    "c": 0.13778,
    "h": 335.6
  },
  "luminance": 0.03725
}

Semantic roles & 50–950 ramp

primary
#631156
secondary
#349B45
accent
#ED573A
background
#F9F5F8
surface
#F2E9EF
border
#CCC5CA
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #631156

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

Preview Lab → · Contrast checker → · Palette generator →

#631156 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva