#641D7E#641D7E

#641D7E is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.1% C 0.160 H 315.1°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#641D7E
RGBrgb(100, 29, 126)
HSLhsl(284, 63%, 30%)
HSVhsv(284, 77%, 49%)
CMYKcmyk(20.6%, 77%, 0%, 50.6%)
CIE-LABlab(27.00, 46.36, -39.96)
CIE-LCHlch(27.00, 61.20, 319.24°)
OKLaboklab(39.13% 0.1131 -0.1127)
OKLCHoklch(39.13% 0.16 315.1)
XYZxyz(9.4602, 5.0948, 20.2197)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641D7E #377E1D
analogous
#341D7E #641D7E #7E1D67
triadic
#641D7E #7E641D #1D7E64
tetradic
#641D7E #7E341D #377E1D #1D677E
square
#641D7E #7E341D #377E1D #1D677E
split-complementary
#641D7E #677E1D #1D7E34
monochromatic
#15061B #3D124C #641D7E #8B28B0 #AC42D3

Accessibility & contrast

On white

10.40
#641D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#641D7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641D7E
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641D7E#FFFFFF#000000##FFFFFF
##641D7E1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C81
Deuteranopia (green-blind)
#19427C
Tritanopia (blue-blind)
#62324C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #641d7e;
/* rgb */ color: rgb(100, 29, 126);
/* oklch */ color: oklch(39.1% 0.160 315.1);
Tailwind
colors: {
  custom: {
    50: '#9461a4',
    500: '#641d7e',
    950: '#000000',
  },
}
SCSS
$custom: #641d7e;
$custom-light: #9461a4;
$custom-dark: #000000;
JSON
{
  "hex": "#641d7e",
  "rgb": {
    "r": 100,
    "g": 29,
    "b": 126
  },
  "hsl": {
    "h": 283.918,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39133,
    "c": 0.15967,
    "h": 315.1
  },
  "luminance": 0.05094
}

Semantic roles & 50–950 ramp

primary
#641D7E
secondary
#62B145
accent
#E6426E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #641D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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