#641F87#641F87

#641F87 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.0% C 0.166 H 311.3°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#641F87
RGBrgb(100, 31, 135)
HSLhsl(280, 63%, 33%)
HSVhsv(280, 77%, 53%)
CMYKcmyk(25.9%, 77%, 0%, 47.1%)
CIE-LABlab(27.95, 47.53, -44.08)
CIE-LCHlch(27.95, 64.82, 317.16°)
OKLaboklab(40.01% 0.1097 -0.1248)
OKLCHoklch(40.01% 0.166 311.3)
XYZxyz(10.1179, 5.4388, 23.4338)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641F87 #42871F
analogous
#301F87 #641F87 #871F76
triadic
#641F87 #87641F #1F8764
tetradic
#641F87 #87301F #42871F #1F7687
square
#641F87 #87301F #42871F #1F7687
split-complementary
#641F87 #76871F #1F8730
monochromatic
#1A0823 #3F1455 #641F87 #892AB9 #A74BD6

Accessibility & contrast

On white

10.06
#641F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#641F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641F87
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641F87#FFFFFF#000000##FFFFFF
##641F871.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8A
Deuteranopia (green-blind)
#0B4385
Tritanopia (blue-blind)
#5F3752
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #641f87;
/* rgb */ color: rgb(100, 31, 135);
/* oklch */ color: oklch(40.0% 0.166 311.3);
Tailwind
colors: {
  custom: {
    50: '#9462ab',
    500: '#641f87',
    950: '#000000',
  },
}
SCSS
$custom: #641f87;
$custom-light: #9462ab;
$custom-dark: #000000;
JSON
{
  "hex": "#641f87",
  "rgb": {
    "r": 100,
    "g": 31,
    "b": 135
  },
  "hsl": {
    "h": 279.808,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.40014,
    "c": 0.16615,
    "h": 311.3
  },
  "luminance": 0.05439
}

Semantic roles & 50–950 ramp

primary
#641F87
secondary
#6FB84A
accent
#E64279
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #641F87

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

Preview Lab → · Contrast checker → · Palette generator →

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