#641F8D#641F8D

#641F8D is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.5% C 0.172 H 309.1°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#641F8D
RGBrgb(100, 31, 141)
HSLhsl(278, 64%, 34%)
HSVhsv(278, 78%, 55%)
CMYKcmyk(29.1%, 78%, 0%, 44.7%)
CIE-LABlab(28.41, 48.87, -47.06)
CIE-LCHlch(28.41, 67.85, 316.08°)
OKLaboklab(40.49% 0.1085 -0.1336)
OKLCHoklch(40.49% 0.172 309.1)
XYZxyz(10.5523, 5.6126, 25.7216)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641F8D #488D1F
analogous
#2D1F8D #641F8D #8D1F7F
triadic
#641F8D #8D641F #1F8D64
tetradic
#641F8D #8D2D1F #488D1F #1F7F8D
square
#641F8D #8D2D1F #488D1F #1F7F8D
split-complementary
#641F8D #7F8D1F #1F8D2D
monochromatic
#1D0929 #40145B #641F8D #882ABF #A54ED8

Accessibility & contrast

On white

9.89
#641F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#641F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641F8D
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641F8D#FFFFFF#000000##FFFFFF
##641F8D1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#00448B
Tritanopia (blue-blind)
#5E3A55
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #641f8d;
/* rgb */ color: rgb(100, 31, 141);
/* oklch */ color: oklch(40.5% 0.172 309.1);
Tailwind
colors: {
  custom: {
    50: '#9563af',
    500: '#641f8d',
    950: '#000000',
  },
}
SCSS
$custom: #641f8d;
$custom-light: #9563af;
$custom-dark: #000000;
JSON
{
  "hex": "#641f8d",
  "rgb": {
    "r": 100,
    "g": 31,
    "b": 141
  },
  "hsl": {
    "h": 277.636,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.40487,
    "c": 0.17208,
    "h": 309.1
  },
  "luminance": 0.05612
}

Semantic roles & 50–950 ramp

primary
#641F8D
secondary
#76BB4D
accent
#E7417F
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #641F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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