#631158#631158

#631158 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.4% C 0.139 H 334.4°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#631158
RGBrgb(99, 17, 88)
HSLhsl(308, 71%, 23%)
HSVhsv(308, 83%, 39%)
CMYKcmyk(0%, 82.8%, 11.1%, 61.2%)
CIE-LABlab(22.86, 43.16, -21.96)
CIE-LCHlch(22.86, 48.43, 333.03°)
OKLaboklab(35.35% 0.1256 -0.0602)
OKLCHoklch(35.35% 0.139 334.4)
XYZxyz(7.1076, 3.7588, 9.5818)
Luminance0.0376 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631158 #11631C
analogous
#451163 #631158 #63112F
triadic
#631158 #586311 #115863
tetradic
#631158 #634511 #11631C #112F63
square
#631158 #634511 #11631C #112F63
split-complementary
#631158 #2F6311 #116345
monochromatic
#1A0417 #2F082A #631158 #971A86 #CB23B5

Accessibility & contrast

On white

11.99
#631158 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #631158
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631158#FFFFFF#000000##FFFFFF
##6311581.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2F5A
Deuteranopia (green-blind)
#2F3B56
Tritanopia (blue-blind)
#681934
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #631158;
/* rgb */ color: rgb(99, 17, 88);
/* oklch */ color: oklch(35.4% 0.139 334.4);
Tailwind
colors: {
  custom: {
    50: '#935a87',
    500: '#631158',
    950: '#000000',
  },
}
SCSS
$custom: #631158;
$custom-light: #935a87;
$custom-dark: #000000;
JSON
{
  "hex": "#631158",
  "rgb": {
    "r": 99,
    "g": 17,
    "b": 88
  },
  "hsl": {
    "h": 308.049,
    "s": 70.69,
    "l": 22.745
  },
  "oklch": {
    "l": 0.3535,
    "c": 0.13931,
    "h": 334.4
  },
  "luminance": 0.03758
}

Semantic roles & 50–950 ramp

primary
#631158
secondary
#349B42
accent
#ED523A
background
#F9F5F8
surface
#F2E9EF
border
#CCC5CA
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #631158

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

Preview Lab → · Contrast checker → · Palette generator →

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