#641B74#641B74

#641B74 is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.2% C 0.153 H 319.7°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#641B74
RGBrgb(100, 27, 116)
HSLhsl(289, 62%, 28%)
HSVhsv(289, 77%, 45%)
CMYKcmyk(13.8%, 76.7%, 0%, 54.5%)
CIE-LABlab(26.02, 45.05, -35.18)
CIE-LCHlch(26.02, 57.16, 322.01°)
OKLaboklab(38.21% 0.1164 -0.0987)
OKLCHoklch(38.21% 0.153 319.7)
XYZxyz(8.7994, 4.7546, 16.9738)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641B74 #2B741B
analogous
#371B74 #641B74 #741B58
triadic
#641B74 #74641B #1B7464
tetradic
#641B74 #74371B #2B741B #1B5874
square
#641B74 #74371B #2B741B #1B5874
split-complementary
#641B74 #58741B #1B7437
monochromatic
#150619 #390F42 #641B74 #8F27A6 #B539D1

Accessibility & contrast

On white

10.76
#641B74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#641B74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641B74
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641B74#FFFFFF#000000##FFFFFF
##641B741.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003976
Deuteranopia (green-blind)
#234072
Tritanopia (blue-blind)
#642D46
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #641b74;
/* rgb */ color: rgb(100, 27, 116);
/* oklch */ color: oklch(38.2% 0.153 319.7);
Tailwind
colors: {
  custom: {
    50: '#93609c',
    500: '#641b74',
    950: '#000000',
  },
}
SCSS
$custom: #641b74;
$custom-light: #93609c;
$custom-dark: #000000;
JSON
{
  "hex": "#641b74",
  "rgb": {
    "r": 100,
    "g": 27,
    "b": 116
  },
  "hsl": {
    "h": 289.213,
    "s": 62.238,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38213,
    "c": 0.15256,
    "h": 319.7
  },
  "luminance": 0.04754
}

Semantic roles & 50–950 ramp

primary
#641B74
secondary
#55A942
accent
#E54260
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #641B74

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

Preview Lab → · Contrast checker → · Palette generator →

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