#641D7F#641D7F

#641D7F is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.2% C 0.161 H 314.7°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#641D7F
RGBrgb(100, 29, 127)
HSLhsl(283, 63%, 31%)
HSVhsv(283, 77%, 50%)
CMYKcmyk(21.3%, 77.2%, 0%, 50.2%)
CIE-LABlab(27.08, 46.57, -40.47)
CIE-LCHlch(27.08, 61.70, 319.01°)
OKLaboklab(39.21% 0.113 -0.1142)
OKLCHoklch(39.21% 0.161 314.7)
XYZxyz(9.5250, 5.1207, 20.5612)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641D7F #387F1D
analogous
#331D7F #641D7F #7F1D69
triadic
#641D7F #7F641D #1D7F64
tetradic
#641D7F #7F331D #387F1D #1D697F
square
#641D7F #7F331D #387F1D #1D697F
split-complementary
#641D7F #697F1D #1D7F33
monochromatic
#16061B #3D124D #641D7F #8B28B1 #AC42D4

Accessibility & contrast

On white

10.38
#641D7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #641D7F
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641D7F#FFFFFF#000000##FFFFFF
##641D7F1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C82
Deuteranopia (green-blind)
#18427D
Tritanopia (blue-blind)
#62334D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #641d7f;
/* rgb */ color: rgb(100, 29, 127);
/* oklch */ color: oklch(39.2% 0.161 314.7);
Tailwind
colors: {
  custom: {
    50: '#9461a5',
    500: '#641d7f',
    950: '#000000',
  },
}
SCSS
$custom: #641d7f;
$custom-light: #9461a5;
$custom-dark: #000000;
JSON
{
  "hex": "#641d7f",
  "rgb": {
    "r": 100,
    "g": 29,
    "b": 127
  },
  "hsl": {
    "h": 283.469,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39208,
    "c": 0.16064,
    "h": 314.7
  },
  "luminance": 0.0512
}

Semantic roles & 50–950 ramp

primary
#641D7F
secondary
#63B245
accent
#E6426F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #641D7F

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

Preview Lab → · Contrast checker → · Palette generator →

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