#641F7E#641F7E

#641F7E is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.3% C 0.157 H 314.9°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#641F7E
RGBrgb(100, 31, 126)
HSLhsl(284, 61%, 31%)
HSVhsv(284, 75%, 49%)
CMYKcmyk(20.6%, 75.4%, 0%, 50.6%)
CIE-LABlab(27.29, 45.55, -39.50)
CIE-LCHlch(27.29, 60.30, 319.07°)
OKLaboklab(39.33% 0.1111 -0.1114)
OKLCHoklch(39.33% 0.157 314.9)
XYZxyz(9.5108, 5.1960, 20.2366)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641F7E #397E1F
analogous
#341F7E #641F7E #7E1F68
triadic
#641F7E #7E641F #1F7E64
tetradic
#641F7E #7E341F #397E1F #1F687E
square
#641F7E #7E341F #397E1F #1F687E
split-complementary
#641F7E #687E1F #1F7E34
monochromatic
#16071C #3D134D #641F7E #8B2BAF #AB46D1

Accessibility & contrast

On white

10.30
#641F7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#641F7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641F7E
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641F7E#FFFFFF#000000##FFFFFF
##641F7E1.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D81
Deuteranopia (green-blind)
#1B427C
Tritanopia (blue-blind)
#62334D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #641f7e;
/* rgb */ color: rgb(100, 31, 126);
/* oklch */ color: oklch(39.3% 0.157 314.9);
Tailwind
colors: {
  custom: {
    50: '#9462a4',
    500: '#641f7e',
    950: '#000000',
  },
}
SCSS
$custom: #641f7e;
$custom-light: #9462a4;
$custom-dark: #000000;
JSON
{
  "hex": "#641f7e",
  "rgb": {
    "r": 100,
    "g": 31,
    "b": 126
  },
  "hsl": {
    "h": 283.579,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39334,
    "c": 0.15729,
    "h": 314.9
  },
  "luminance": 0.05196
}

Semantic roles & 50–950 ramp

primary
#641F7E
secondary
#65B148
accent
#E44470
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D050F
muted
#7E7A7F

Preview Lab

Preview with #641F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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