#641F91#641F91

#641F91 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.8% C 0.176 H 307.7°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#641F91
RGBrgb(100, 31, 145)
HSLhsl(276, 65%, 35%)
HSVhsv(276, 79%, 57%)
CMYKcmyk(31%, 78.6%, 0%, 43.1%)
CIE-LABlab(28.73, 49.78, -49.02)
CIE-LCHlch(28.73, 69.87, 315.44°)
OKLaboklab(40.81% 0.1076 -0.1393)
OKLCHoklch(40.81% 0.176 307.7)
XYZxyz(10.8553, 5.7338, 27.3174)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641F91 #4C911F
analogous
#2B1F91 #641F91 #911F85
triadic
#641F91 #91641F #1F9164
tetradic
#641F91 #912B1F #4C911F #1F8591
square
#641F91 #912B1F #4C911F #1F8591
split-complementary
#641F91 #85911F #1F912B
monochromatic
#1E092C #41145F #641F91 #872AC3 #A451DA

Accessibility & contrast

On white

9.78
#641F91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#641F91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641F91
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641F91#FFFFFF#000000##FFFFFF
##641F911.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004194
Deuteranopia (green-blind)
#00448F
Tritanopia (blue-blind)
#5D3C57
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #641f91;
/* rgb */ color: rgb(100, 31, 145);
/* oklch */ color: oklch(40.8% 0.176 307.7);
Tailwind
colors: {
  custom: {
    50: '#9563b2',
    500: '#641f91',
    950: '#000000',
  },
}
SCSS
$custom: #641f91;
$custom-light: #9563b2;
$custom-dark: #000000;
JSON
{
  "hex": "#641f91",
  "rgb": {
    "r": 100,
    "g": 31,
    "b": 145
  },
  "hsl": {
    "h": 276.316,
    "s": 64.773,
    "l": 34.51
  },
  "oklch": {
    "l": 0.40809,
    "c": 0.17604,
    "h": 307.7
  },
  "luminance": 0.05734
}

Semantic roles & 50–950 ramp

primary
#641F91
secondary
#7ABD4F
accent
#E84082
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #641F91

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

Preview Lab → · Contrast checker → · Palette generator →

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