#641E8C#641E8C

#641E8C is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.3% C 0.172 H 309.6°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#641E8C
RGBrgb(100, 30, 140)
HSLhsl(278, 65%, 33%)
HSVhsv(278, 79%, 55%)
CMYKcmyk(28.6%, 78.6%, 0%, 45.1%)
CIE-LABlab(28.20, 49.04, -46.79)
CIE-LCHlch(28.20, 67.78, 316.35°)
OKLaboklab(40.31% 0.1096 -0.1327)
OKLCHoklch(40.31% 0.172 309.6)
XYZxyz(10.4525, 5.5315, 25.3229)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641E8C #468C1E
analogous
#2D1E8C #641E8C #8C1E7D
triadic
#641E8C #8C641E #1E8C64
tetradic
#641E8C #8C2D1E #468C1E #1E7D8C
square
#641E8C #8C2D1E #468C1E #1E7D8C
split-complementary
#641E8C #7D8C1E #1E8C2D
monochromatic
#1C0827 #40135A #641E8C #8829BE #A54CD9

Accessibility & contrast

On white

9.97
#641E8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#641E8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641E8C
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641E8C#FFFFFF#000000##FFFFFF
##641E8C1.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408F
Deuteranopia (green-blind)
#00438A
Tritanopia (blue-blind)
#5E3954
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #641e8c;
/* rgb */ color: rgb(100, 30, 140);
/* oklch */ color: oklch(40.3% 0.172 309.6);
Tailwind
colors: {
  custom: {
    50: '#9562ae',
    500: '#641e8c',
    950: '#000000',
  },
}
SCSS
$custom: #641e8c;
$custom-light: #9562ae;
$custom-dark: #000000;
JSON
{
  "hex": "#641e8c",
  "rgb": {
    "r": 100,
    "g": 30,
    "b": 140
  },
  "hsl": {
    "h": 278.182,
    "s": 64.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.40311,
    "c": 0.17217,
    "h": 309.6
  },
  "luminance": 0.05531
}

Semantic roles & 50–950 ramp

primary
#641E8C
secondary
#74BB4B
accent
#E8407D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #641E8C

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

Preview Lab → · Contrast checker → · Palette generator →

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