#641D9B#641D9B

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

Color values

HEX#641D9B
RGBrgb(100, 29, 155)
HSLhsl(274, 68%, 36%)
HSVhsv(274, 81%, 61%)
CMYKcmyk(35.5%, 81.3%, 0%, 39.2%)
CIE-LABlab(29.30, 52.84, -54.23)
CIE-LCHlch(29.30, 75.72, 314.25°)
OKLaboklab(41.46% 0.1067 -0.1546)
OKLCHoklch(41.46% 0.188 304.6)
XYZxyz(11.6099, 5.9547, 31.5417)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641D9B #549B1D
analogous
#251D9B #641D9B #9B1D93
triadic
#641D9B #9B641D #1D9B64
tetradic
#641D9B #9B251D #549B1D #1D939B
square
#641D9B #9B251D #549B1D #1D939B
split-complementary
#641D9B #939B1D #1D9B25
monochromatic
#210A34 #431367 #641D9B #8527CF #A253DF

Accessibility & contrast

On white

9.58
#641D9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#641D9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641D9B
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641D9B#FFFFFF#000000##FFFFFF
##641D9B1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #641d9b;
/* rgb */ color: rgb(100, 29, 155);
/* oklch */ color: oklch(41.5% 0.188 304.6);
Tailwind
colors: {
  custom: {
    50: '#9663b9',
    500: '#641d9b',
    950: '#000000',
  },
}
SCSS
$custom: #641d9b;
$custom-light: #9663b9;
$custom-dark: #000000;
JSON
{
  "hex": "#641d9b",
  "rgb": {
    "r": 100,
    "g": 29,
    "b": 155
  },
  "hsl": {
    "h": 273.81,
    "s": 68.478,
    "l": 36.078
  },
  "oklch": {
    "l": 0.41463,
    "c": 0.18787,
    "h": 304.6
  },
  "luminance": 0.05955
}

Semantic roles & 50–950 ramp

primary
#641D9B
secondary
#83C252
accent
#EB3C89
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #641D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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