#641F7C#641F7C

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

Color values

HEX#641F7C
RGBrgb(100, 31, 124)
HSLhsl(285, 60%, 30%)
HSVhsv(285, 75%, 49%)
CMYKcmyk(19.4%, 75%, 0%, 51.4%)
CIE-LABlab(27.14, 45.12, -38.47)
CIE-LCHlch(27.14, 59.29, 319.55°)
OKLaboklab(39.19% 0.1113 -0.1083)
OKLCHoklch(39.19% 0.155 315.8)
XYZxyz(9.3830, 5.1449, 19.5637)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641F7C #377C1F
analogous
#351F7C #641F7C #7C1F65
triadic
#641F7C #7C641F #1F7C64
tetradic
#641F7C #7C351F #377C1F #1F657C
square
#641F7C #7C351F #377C1F #1F657C
split-complementary
#641F7C #657C1F #1F7C35
monochromatic
#15071A #3D134B #641F7C #8B2BAD #AC45D0

Accessibility & contrast

On white

10.35
#641F7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#641F7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641F7C
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641F7C#FFFFFF#000000##FFFFFF
##641F7C1.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7F
Deuteranopia (green-blind)
#1E427A
Tritanopia (blue-blind)
#62334C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #641f7c;
/* rgb */ color: rgb(100, 31, 124);
/* oklch */ color: oklch(39.2% 0.155 315.8);
Tailwind
colors: {
  custom: {
    50: '#9362a2',
    500: '#641f7c',
    950: '#000000',
  },
}
SCSS
$custom: #641f7c;
$custom-light: #9362a2;
$custom-dark: #000000;
JSON
{
  "hex": "#641f7c",
  "rgb": {
    "r": 100,
    "g": 31,
    "b": 124
  },
  "hsl": {
    "h": 284.516,
    "s": 60,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39187,
    "c": 0.15534,
    "h": 315.8
  },
  "luminance": 0.05145
}

Semantic roles & 50–950 ramp

primary
#641F7C
secondary
#62AF48
accent
#E3456E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D050F
muted
#7E7A7F

Preview Lab

Preview with #641F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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