#641D7B#641D7B

#641D7B is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.9% C 0.157 H 316.4°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#641D7B
RGBrgb(100, 29, 123)
HSLhsl(285, 62%, 30%)
HSVhsv(285, 76%, 48%)
CMYKcmyk(18.7%, 76.4%, 0%, 51.8%)
CIE-LABlab(26.79, 45.72, -38.41)
CIE-LCHlch(26.79, 59.71, 319.97°)
OKLaboklab(38.91% 0.1135 -0.1081)
OKLCHoklch(38.91% 0.157 316.4)
XYZxyz(9.2695, 5.0185, 19.2154)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641D7B #347B1D
analogous
#351D7B #641D7B #7B1D63
triadic
#641D7B #7B641D #1D7B64
tetradic
#641D7B #7B351D #347B1D #1D637B
square
#641D7B #7B351D #347B1D #1D637B
split-complementary
#641D7B #637B1D #1D7B35
monochromatic
#140619 #3C1149 #641D7B #8C29AD #AE40D2

Accessibility & contrast

On white

10.48
#641D7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#641D7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641D7B
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641D7B#FFFFFF#000000##FFFFFF
##641D7B1.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7E
Deuteranopia (green-blind)
#1D4179
Tritanopia (blue-blind)
#63314A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #641d7b;
/* rgb */ color: rgb(100, 29, 123);
/* oklch */ color: oklch(38.9% 0.157 316.4);
Tailwind
colors: {
  custom: {
    50: '#9461a2',
    500: '#641d7b',
    950: '#000000',
  },
}
SCSS
$custom: #641d7b;
$custom-light: #9461a2;
$custom-dark: #000000;
JSON
{
  "hex": "#641d7b",
  "rgb": {
    "r": 100,
    "g": 29,
    "b": 123
  },
  "hsl": {
    "h": 285.319,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.38912,
    "c": 0.15679,
    "h": 316.4
  },
  "luminance": 0.05018
}

Semantic roles & 50–950 ramp

primary
#641D7B
secondary
#5FAF45
accent
#E5436B
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0D050F
muted
#7E7A7F

Preview Lab

Preview with #641D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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