#641E8E#641E8E

#641E8E is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.5% C 0.174 H 308.8°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#641E8E
RGBrgb(100, 30, 142)
HSLhsl(278, 65%, 34%)
HSVhsv(278, 79%, 56%)
CMYKcmyk(29.6%, 78.9%, 0%, 44.3%)
CIE-LABlab(28.36, 49.49, -47.77)
CIE-LCHlch(28.36, 68.79, 316.01°)
OKLaboklab(40.47% 0.1092 -0.1356)
OKLCHoklch(40.47% 0.174 308.8)
XYZxyz(10.6013, 5.5911, 26.1067)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641E8E #488E1E
analogous
#2C1E8E #641E8E #8E1E80
triadic
#641E8E #8E641E #1E8E64
tetradic
#641E8E #8E2C1E #488E1E #1E808E
square
#641E8E #8E2C1E #488E1E #1E808E
split-complementary
#641E8E #808E1E #1E8E2C
monochromatic
#1D0929 #40135B #641E8E #8829C1 #A54DD9

Accessibility & contrast

On white

9.91
#641E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#641E8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641E8E
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641E8E#FFFFFF#000000##FFFFFF
##641E8E1.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #641e8e;
/* rgb */ color: rgb(100, 30, 142);
/* oklch */ color: oklch(40.5% 0.174 308.8);
Tailwind
colors: {
  custom: {
    50: '#9562b0',
    500: '#641e8e',
    950: '#000000',
  },
}
SCSS
$custom: #641e8e;
$custom-light: #9562b0;
$custom-dark: #000000;
JSON
{
  "hex": "#641e8e",
  "rgb": {
    "r": 100,
    "g": 30,
    "b": 142
  },
  "hsl": {
    "h": 277.5,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.40472,
    "c": 0.17414,
    "h": 308.8
  },
  "luminance": 0.05591
}

Semantic roles & 50–950 ramp

primary
#641E8E
secondary
#76BC4C
accent
#E8407F
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #641E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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