#641E8F#641E8F

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

Color values

HEX#641E8F
RGBrgb(100, 30, 143)
HSLhsl(277, 65%, 34%)
HSVhsv(277, 79%, 56%)
CMYKcmyk(30.1%, 79%, 0%, 43.9%)
CIE-LABlab(28.44, 49.72, -48.26)
CIE-LCHlch(28.44, 69.29, 315.85°)
OKLaboklab(40.55% 0.109 -0.1371)
OKLCHoklch(40.55% 0.175 308.5)
XYZxyz(10.6767, 5.6212, 26.5038)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641E8F #498F1E
analogous
#2C1E8F #641E8F #8F1E82
triadic
#641E8F #8F641E #1E8F64
tetradic
#641E8F #8F2C1E #498F1E #1E828F
square
#641E8F #8F2C1E #498F1E #1E828F
split-complementary
#641E8F #828F1E #1E8F2C
monochromatic
#1D092A #41135C #641E8F #8729C2 #A44EDA

Accessibility & contrast

On white

9.89
#641E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #641E8F
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641E8F#FFFFFF#000000##FFFFFF
##641E8F1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #641e8f;
/* rgb */ color: rgb(100, 30, 143);
/* oklch */ color: oklch(40.6% 0.175 308.5);
Tailwind
colors: {
  custom: {
    50: '#9562b1',
    500: '#641e8f',
    950: '#000000',
  },
}
SCSS
$custom: #641e8f;
$custom-light: #9562b1;
$custom-dark: #000000;
JSON
{
  "hex": "#641e8f",
  "rgb": {
    "r": 100,
    "g": 30,
    "b": 143
  },
  "hsl": {
    "h": 277.168,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.40552,
    "c": 0.17511,
    "h": 308.5
  },
  "luminance": 0.05621
}

Semantic roles & 50–950 ramp

primary
#641E8F
secondary
#77BC4C
accent
#E84080
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #641E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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