#641F7F#641F7F

#641F7F is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.4% C 0.158 H 314.5°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#641F7F
RGBrgb(100, 31, 127)
HSLhsl(283, 61%, 31%)
HSVhsv(283, 76%, 50%)
CMYKcmyk(21.3%, 75.6%, 0%, 50.2%)
CIE-LABlab(27.36, 45.77, -40.02)
CIE-LCHlch(27.36, 60.80, 318.83°)
OKLaboklab(39.41% 0.111 -0.1129)
OKLCHoklch(39.41% 0.158 314.5)
XYZxyz(9.5756, 5.2219, 20.5781)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641F7F #3A7F1F
analogous
#341F7F #641F7F #7F1F6A
triadic
#641F7F #7F641F #1F7F64
tetradic
#641F7F #7F341F #3A7F1F #1F6A7F
square
#641F7F #7F341F #3A7F1F #1F6A7F
split-complementary
#641F7F #6A7F1F #1F7F34
monochromatic
#17071D #3D134E #641F7F #8B2BB0 #AB46D2

Accessibility & contrast

On white

10.27
#641F7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #641F7F
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641F7F#FFFFFF#000000##FFFFFF
##641F7F1.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D82
Deuteranopia (green-blind)
#1A427D
Tritanopia (blue-blind)
#62344D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #641f7f;
/* rgb */ color: rgb(100, 31, 127);
/* oklch */ color: oklch(39.4% 0.158 314.5);
Tailwind
colors: {
  custom: {
    50: '#9462a5',
    500: '#641f7f',
    950: '#000000',
  },
}
SCSS
$custom: #641f7f;
$custom-light: #9462a5;
$custom-dark: #000000;
JSON
{
  "hex": "#641f7f",
  "rgb": {
    "r": 100,
    "g": 31,
    "b": 127
  },
  "hsl": {
    "h": 283.125,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39408,
    "c": 0.15827,
    "h": 314.5
  },
  "luminance": 0.05222
}

Semantic roles & 50–950 ramp

primary
#641F7F
secondary
#66B248
accent
#E44471
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D050F
muted
#7E7A7F

Preview Lab

Preview with #641F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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