#641F8F#641F8F

#641F8F is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.6% C 0.174 H 308.4°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#641F8F
RGBrgb(100, 31, 143)
HSLhsl(277, 64%, 34%)
HSVhsv(277, 78%, 56%)
CMYKcmyk(30.1%, 78.3%, 0%, 43.9%)
CIE-LABlab(28.57, 49.33, -48.04)
CIE-LCHlch(28.57, 68.86, 315.76°)
OKLaboklab(40.65% 0.1081 -0.1364)
OKLCHoklch(40.65% 0.174 308.4)
XYZxyz(10.7024, 5.6726, 26.5124)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641F8F #4A8F1F
analogous
#2C1F8F #641F8F #8F1F82
triadic
#641F8F #8F641F #1F8F64
tetradic
#641F8F #8F2C1F #4A8F1F #1F828F
square
#641F8F #8F2C1F #4A8F1F #1F828F
split-complementary
#641F8F #828F1F #1F8F2C
monochromatic
#1E092A #41145D #641F8F #872AC1 #A44FD9

Accessibility & contrast

On white

9.84
#641F8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#641F8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641F8F
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641F8F#FFFFFF#000000##FFFFFF
##641F8F1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#00448D
Tritanopia (blue-blind)
#5D3B56
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #641f8f;
/* rgb */ color: rgb(100, 31, 143);
/* oklch */ color: oklch(40.6% 0.174 308.4);
Tailwind
colors: {
  custom: {
    50: '#9563b1',
    500: '#641f8f',
    950: '#000000',
  },
}
SCSS
$custom: #641f8f;
$custom-light: #9563b1;
$custom-dark: #000000;
JSON
{
  "hex": "#641f8f",
  "rgb": {
    "r": 100,
    "g": 31,
    "b": 143
  },
  "hsl": {
    "h": 276.964,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.40647,
    "c": 0.17406,
    "h": 308.4
  },
  "luminance": 0.05672
}

Semantic roles & 50–950 ramp

primary
#641F8F
secondary
#78BC4E
accent
#E74081
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #641F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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