#641E9C#641E9C

#641E9C is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.6% C 0.188 H 304.2°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#641E9C
RGBrgb(100, 30, 156)
HSLhsl(273, 68%, 36%)
HSVhsv(273, 81%, 61%)
CMYKcmyk(35.9%, 80.8%, 0%, 38.8%)
CIE-LABlab(29.51, 52.70, -54.50)
CIE-LCHlch(29.51, 75.81, 314.04°)
OKLaboklab(41.64% 0.1056 -0.1554)
OKLCHoklch(41.64% 0.188 304.2)
XYZxyz(11.7192, 6.0382, 31.9941)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641E9C #569C1E
analogous
#251E9C #641E9C #9C1E95
triadic
#641E9C #9C641E #1E9C64
tetradic
#641E9C #9C251E #569C1E #1E959C
square
#641E9C #9C251E #569C1E #1E959C
split-complementary
#641E9C #959C1E #1E9C25
monochromatic
#220A35 #431469 #641E9C #8528CF #A256DE

Accessibility & contrast

On white

9.51
#641E9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#641E9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641E9C
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641E9C#FFFFFF#000000##FFFFFF
##641E9C1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449F
Deuteranopia (green-blind)
#00459A
Tritanopia (blue-blind)
#59405D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #641e9c;
/* rgb */ color: rgb(100, 30, 156);
/* oklch */ color: oklch(41.6% 0.188 304.2);
Tailwind
colors: {
  custom: {
    50: '#9663ba',
    500: '#641e9c',
    950: '#000000',
  },
}
SCSS
$custom: #641e9c;
$custom-light: #9663ba;
$custom-dark: #000000;
JSON
{
  "hex": "#641e9c",
  "rgb": {
    "r": 100,
    "g": 30,
    "b": 156
  },
  "hsl": {
    "h": 273.333,
    "s": 67.742,
    "l": 36.471
  },
  "oklch": {
    "l": 0.41637,
    "c": 0.18792,
    "h": 304.2
  },
  "luminance": 0.06038
}

Semantic roles & 50–950 ramp

primary
#641E9C
secondary
#85C254
accent
#EB3D8A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #641E9C

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

Preview Lab → · Contrast checker → · Palette generator →

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