#641F9E#641F9E

#641F9E is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.9% C 0.189 H 303.5°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#641F9E
RGBrgb(100, 31, 158)
HSLhsl(273, 67%, 37%)
HSVhsv(273, 80%, 62%)
CMYKcmyk(36.7%, 80.4%, 0%, 38%)
CIE-LABlab(29.81, 52.80, -55.23)
CIE-LCHlch(29.81, 76.41, 313.71°)
OKLaboklab(41.9% 0.1043 -0.1576)
OKLCHoklch(41.9% 0.189 303.5)
XYZxyz(11.9156, 6.1579, 32.9020)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641F9E #599E1F
analogous
#241F9E #641F9E #9E1F99
triadic
#641F9E #9E641F #1F9E64
tetradic
#641F9E #9E241F #599E1F #1F999E
square
#641F9E #9E241F #599E1F #1F999E
split-complementary
#641F9E #999E1F #1F9E24
monochromatic
#230B38 #44156B #641F9E #8429D1 #A159DE

Accessibility & contrast

On white

9.41
#641F9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#641F9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641F9E
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641F9E#FFFFFF#000000##FFFFFF
##641F9E1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A1
Deuteranopia (green-blind)
#00469C
Tritanopia (blue-blind)
#58415F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #641f9e;
/* rgb */ color: rgb(100, 31, 158);
/* oklch */ color: oklch(41.9% 0.189 303.5);
Tailwind
colors: {
  custom: {
    50: '#9664bc',
    500: '#641f9e',
    950: '#000000',
  },
}
SCSS
$custom: #641f9e;
$custom-light: #9664bc;
$custom-dark: #000000;
JSON
{
  "hex": "#641f9e",
  "rgb": {
    "r": 100,
    "g": 31,
    "b": 158
  },
  "hsl": {
    "h": 272.598,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.41898,
    "c": 0.18895,
    "h": 303.5
  },
  "luminance": 0.06158
}

Semantic roles & 50–950 ramp

primary
#641F9E
secondary
#88C256
accent
#EA3E8C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #641F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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