#641E9B#641E9B

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

Color values

HEX#641E9B
RGBrgb(100, 30, 155)
HSLhsl(274, 68%, 36%)
HSVhsv(274, 81%, 61%)
CMYKcmyk(35.5%, 80.6%, 0%, 39.2%)
CIE-LABlab(29.42, 52.47, -54.03)
CIE-LCHlch(29.42, 75.31, 314.16°)
OKLaboklab(41.55% 0.1059 -0.154)
OKLCHoklch(41.55% 0.187 304.5)
XYZxyz(11.6348, 6.0045, 31.5500)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641E9B #559B1E
analogous
#261E9B #641E9B #9B1E94
triadic
#641E9B #9B641E #1E9B64
tetradic
#641E9B #9B261E #559B1E #1E949B
square
#641E9B #9B261E #559B1E #1E949B
split-complementary
#641E9B #949B1E #1E9B26
monochromatic
#220A34 #431468 #641E9B #8528CE #A255DE

Accessibility & contrast

On white

9.54
#641E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#641E9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641E9B
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641E9B#FFFFFF#000000##FFFFFF
##641E9B1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449E
Deuteranopia (green-blind)
#004599
Tritanopia (blue-blind)
#593F5D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #641e9b;
/* rgb */ color: rgb(100, 30, 155);
/* oklch */ color: oklch(41.6% 0.187 304.5);
Tailwind
colors: {
  custom: {
    50: '#9663b9',
    500: '#641e9b',
    950: '#000000',
  },
}
SCSS
$custom: #641e9b;
$custom-light: #9663b9;
$custom-dark: #000000;
JSON
{
  "hex": "#641e9b",
  "rgb": {
    "r": 100,
    "g": 30,
    "b": 155
  },
  "hsl": {
    "h": 273.6,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.41551,
    "c": 0.18693,
    "h": 304.5
  },
  "luminance": 0.06004
}

Semantic roles & 50–950 ramp

primary
#641E9B
secondary
#84C253
accent
#EA3D8A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #641E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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