#641158#641158

#641158 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.5% C 0.140 H 334.9°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#641158
RGBrgb(100, 17, 88)
HSLhsl(309, 71%, 23%)
HSVhsv(309, 83%, 39%)
CMYKcmyk(0%, 83%, 12%, 60.8%)
CIE-LABlab(23.05, 43.40, -21.64)
CIE-LCHlch(23.05, 48.50, 333.50°)
OKLaboklab(35.53% 0.1267 -0.0592)
OKLCHoklch(35.53% 0.14 334.9)
XYZxyz(7.2175, 3.8155, 9.5870)
Luminance0.0382 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641158 #11641D
analogous
#461164 #641158 #64112E
triadic
#641158 #586411 #115864
tetradic
#641158 #644611 #11641D #112E64
square
#641158 #644611 #11641D #112E64
split-complementary
#641158 #2E6411 #116446
monochromatic
#1A0417 #30082A #641158 #981A86 #CD23B4

Accessibility & contrast

On white

11.91
#641158 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#641158 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641158
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641158#FFFFFF#000000##FFFFFF
##6411581.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102F5A
Deuteranopia (green-blind)
#303B56
Tritanopia (blue-blind)
#691934
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #641158;
/* rgb */ color: rgb(100, 17, 88);
/* oklch */ color: oklch(35.5% 0.140 334.9);
Tailwind
colors: {
  custom: {
    50: '#935a87',
    500: '#641158',
    950: '#000000',
  },
}
SCSS
$custom: #641158;
$custom-light: #935a87;
$custom-dark: #000000;
JSON
{
  "hex": "#641158",
  "rgb": {
    "r": 100,
    "g": 17,
    "b": 88
  },
  "hsl": {
    "h": 308.675,
    "s": 70.94,
    "l": 22.941
  },
  "oklch": {
    "l": 0.35526,
    "c": 0.13988,
    "h": 334.9
  },
  "luminance": 0.03815
}

Semantic roles & 50–950 ramp

primary
#641158
secondary
#359C44
accent
#EE543A
background
#F9F5F8
surface
#F2E9EF
border
#CCC5CA
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #641158

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

Preview Lab → · Contrast checker → · Palette generator →

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