#641D9C#641D9C

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

Color values

HEX#641D9C
RGBrgb(100, 29, 156)
HSLhsl(274, 69%, 36%)
HSVhsv(274, 81%, 61%)
CMYKcmyk(35.9%, 81.4%, 0%, 38.8%)
CIE-LABlab(29.38, 53.07, -54.71)
CIE-LCHlch(29.38, 76.22, 314.13°)
OKLaboklab(41.55% 0.1064 -0.156)
OKLCHoklch(41.55% 0.189 304.3)
XYZxyz(11.6943, 5.9884, 31.9858)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641D9C #559C1D
analogous
#241D9C #641D9C #9C1D95
triadic
#641D9C #9C641D #1D9C64
tetradic
#641D9C #9C241D #559C1D #1D959C
square
#641D9C #9C241D #559C1D #1D959C
split-complementary
#641D9C #959C1D #1D9C24
monochromatic
#220A35 #431368 #641D9C #8527D0 #A254DF

Accessibility & contrast

On white

9.56
#641D9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #641D9C
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641D9C#FFFFFF#000000##FFFFFF
##641D9C1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #641d9c;
/* rgb */ color: rgb(100, 29, 156);
/* oklch */ color: oklch(41.5% 0.189 304.3);
Tailwind
colors: {
  custom: {
    50: '#9663ba',
    500: '#641d9c',
    950: '#000000',
  },
}
SCSS
$custom: #641d9c;
$custom-light: #9663ba;
$custom-dark: #000000;
JSON
{
  "hex": "#641d9c",
  "rgb": {
    "r": 100,
    "g": 29,
    "b": 156
  },
  "hsl": {
    "h": 273.543,
    "s": 68.649,
    "l": 36.275
  },
  "oklch": {
    "l": 0.41549,
    "c": 0.18884,
    "h": 304.3
  },
  "luminance": 0.05988
}

Semantic roles & 50–950 ramp

primary
#641D9C
secondary
#84C252
accent
#EB3C8A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #641D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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