#651158#651158

#651158 is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.7% C 0.140 H 335.5°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#651158
RGBrgb(101, 17, 88)
HSLhsl(309, 71%, 23%)
HSVhsv(309, 83%, 40%)
CMYKcmyk(0%, 83.2%, 12.9%, 60.4%)
CIE-LABlab(23.25, 43.65, -21.32)
CIE-LCHlch(23.25, 48.58, 333.96°)
OKLaboklab(35.7% 0.1278 -0.0583)
OKLCHoklch(35.7% 0.14 335.5)
XYZxyz(7.3288, 3.8729, 9.5922)
Luminance0.0387 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651158 #11651E
analogous
#481165 #651158 #65112E
triadic
#651158 #586511 #115865
tetradic
#651158 #654811 #11651E #112E65
square
#651158 #654811 #11651E #112E65
split-complementary
#651158 #2E6511 #116548
monochromatic
#1A0417 #31082A #651158 #991A86 #CE23B3

Accessibility & contrast

On white

11.83
#651158 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#651158 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #651158
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651158#FFFFFF#000000##FFFFFF
##6511581.0011.831.7711.83
#FFFFFF11.831.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11305A
Deuteranopia (green-blind)
#313C56
Tritanopia (blue-blind)
#6A1834
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #651158;
/* rgb */ color: rgb(101, 17, 88);
/* oklch */ color: oklch(35.7% 0.140 335.5);
Tailwind
colors: {
  custom: {
    50: '#945b87',
    500: '#651158',
    950: '#000000',
  },
}
SCSS
$custom: #651158;
$custom-light: #945b87;
$custom-dark: #000000;
JSON
{
  "hex": "#651158",
  "rgb": {
    "r": 101,
    "g": 17,
    "b": 88
  },
  "hsl": {
    "h": 309.286,
    "s": 71.186,
    "l": 23.137
  },
  "oklch": {
    "l": 0.35702,
    "c": 0.14047,
    "h": 335.5
  },
  "luminance": 0.03872
}

Semantic roles & 50–950 ramp

primary
#651158
secondary
#359D45
accent
#EE563A
background
#F9F5F8
surface
#F2E9EF
border
#CCC5CA
text
#0E040B
muted
#7E797C

Preview Lab

Preview with #651158

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

Preview Lab → · Contrast checker → · Palette generator →

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