#631157#631157

#631157 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.3% C 0.139 H 335.0°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#631157
RGBrgb(99, 17, 87)
HSLhsl(309, 71%, 23%)
HSVhsv(309, 83%, 39%)
CMYKcmyk(0%, 82.8%, 12.1%, 61.2%)
CIE-LABlab(22.80, 43.00, -21.39)
CIE-LCHlch(22.80, 48.02, 333.56°)
OKLaboklab(35.29% 0.1256 -0.0585)
OKLCHoklch(35.29% 0.139 335)
XYZxyz(7.0664, 3.7423, 9.3652)
Luminance0.0374 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631157 #11631D
analogous
#461163 #631157 #63112E
triadic
#631157 #576311 #115763
tetradic
#631157 #634611 #11631D #112E63
square
#631157 #634611 #11631D #112E63
split-complementary
#631157 #2E6311 #116346
monochromatic
#1A0417 #2F0829 #631157 #971A85 #CB23B3

Accessibility & contrast

On white

12.01
#631157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #631157
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631157#FFFFFF#000000##FFFFFF
##6311571.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102F59
Deuteranopia (green-blind)
#2F3B55
Tritanopia (blue-blind)
#681933
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #631157;
/* rgb */ color: rgb(99, 17, 87);
/* oklch */ color: oklch(35.3% 0.139 335.0);
Tailwind
colors: {
  custom: {
    50: '#935a86',
    500: '#631157',
    950: '#000000',
  },
}
SCSS
$custom: #631157;
$custom-light: #935a86;
$custom-dark: #000000;
JSON
{
  "hex": "#631157",
  "rgb": {
    "r": 99,
    "g": 17,
    "b": 87
  },
  "hsl": {
    "h": 308.78,
    "s": 70.69,
    "l": 22.745
  },
  "oklch": {
    "l": 0.35291,
    "c": 0.13855,
    "h": 335
  },
  "luminance": 0.03742
}

Semantic roles & 50–950 ramp

primary
#631157
secondary
#349B44
accent
#ED553A
background
#F9F5F8
surface
#F2E9EF
border
#CCC5CA
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #631157

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

Preview Lab → · Contrast checker → · Palette generator →

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