#641F8E#641F8E

#641F8E is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.6% C 0.173 H 308.7°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#641F8E
RGBrgb(100, 31, 142)
HSLhsl(277, 64%, 34%)
HSVhsv(277, 78%, 56%)
CMYKcmyk(29.6%, 78.2%, 0%, 44.3%)
CIE-LABlab(28.49, 49.10, -47.55)
CIE-LCHlch(28.49, 68.35, 315.92°)
OKLaboklab(40.57% 0.1083 -0.135)
OKLCHoklch(40.57% 0.173 308.7)
XYZxyz(10.6270, 5.6425, 26.1152)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641F8E #498E1F
analogous
#2C1F8E #641F8E #8E1F81
triadic
#641F8E #8E641F #1F8E64
tetradic
#641F8E #8E2C1F #498E1F #1F818E
square
#641F8E #8E2C1F #498E1F #1F818E
split-complementary
#641F8E #818E1F #1F8E2C
monochromatic
#1D092A #41145C #641F8E #872AC0 #A44FD9

Accessibility & contrast

On white

9.87
#641F8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#641F8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641F8E
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641F8E#FFFFFF#000000##FFFFFF
##641F8E1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004191
Deuteranopia (green-blind)
#00448C
Tritanopia (blue-blind)
#5D3A56
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #641f8e;
/* rgb */ color: rgb(100, 31, 142);
/* oklch */ color: oklch(40.6% 0.173 308.7);
Tailwind
colors: {
  custom: {
    50: '#9563b0',
    500: '#641f8e',
    950: '#000000',
  },
}
SCSS
$custom: #641f8e;
$custom-light: #9563b0;
$custom-dark: #000000;
JSON
{
  "hex": "#641f8e",
  "rgb": {
    "r": 100,
    "g": 31,
    "b": 142
  },
  "hsl": {
    "h": 277.297,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.40567,
    "c": 0.17307,
    "h": 308.7
  },
  "luminance": 0.05642
}

Semantic roles & 50–950 ramp

primary
#641F8E
secondary
#77BB4D
accent
#E74180
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #641F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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