#641B5F#641B5F

#641B5F is a dark, vivid purple. Relative luminance 0.043; OKLCH L 36.8% C 0.134 H 330.8°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#641B5F
RGBrgb(100, 27, 95)
HSLhsl(304, 57%, 25%)
HSVhsv(304, 73%, 39%)
CMYKcmyk(0%, 73%, 5%, 60.8%)
CIE-LABlab(24.70, 41.03, -23.68)
CIE-LCHlch(24.70, 47.37, 330.01°)
OKLaboklab(36.84% 0.1167 -0.0652)
OKLCHoklch(36.84% 0.134 330.8)
XYZxyz(7.7130, 4.3200, 11.2519)
Luminance0.0432 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641B5F #1B6420
analogous
#451B64 #641B5F #641B3A
triadic
#641B5F #5F641B #1B5F64
tetradic
#641B5F #64451B #1B6420 #1B3A64
square
#641B5F #64451B #1B6420 #1B3A64
split-complementary
#641B5F #3A641B #1B6445
monochromatic
#180717 #340E31 #641B5F #94288D #C435BB

Accessibility & contrast

On white

11.27
#641B5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#641B5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641B5F
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641B5F#FFFFFF#000000##FFFFFF
##641B5F1.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153461
Deuteranopia (green-blind)
#313E5D
Tritanopia (blue-blind)
#68233A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #641b5f;
/* rgb */ color: rgb(100, 27, 95);
/* oklch */ color: oklch(36.8% 0.134 330.8);
Tailwind
colors: {
  custom: {
    50: '#935f8c',
    500: '#641b5f',
    950: '#000000',
  },
}
SCSS
$custom: #641b5f;
$custom-light: #935f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#641b5f",
  "rgb": {
    "r": 100,
    "g": 27,
    "b": 95
  },
  "hsl": {
    "h": 304.11,
    "s": 57.48,
    "l": 24.902
  },
  "oklch": {
    "l": 0.36842,
    "c": 0.1337,
    "h": 330.8
  },
  "luminance": 0.04319
}

Semantic roles & 50–950 ramp

primary
#641B5F
secondary
#419947
accent
#E15247
background
#F9F5F8
surface
#F2EAF0
border
#CCC6CB
text
#0D050C
muted
#7E797D

Preview Lab

Preview with #641B5F

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

Preview Lab → · Contrast checker → · Palette generator →

#641B5F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva