#641F9D#641F9D

#641F9D is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.8% C 0.188 H 303.8°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#641F9D
RGBrgb(100, 31, 157)
HSLhsl(273, 67%, 37%)
HSVhsv(273, 80%, 62%)
CMYKcmyk(36.3%, 80.3%, 0%, 38.4%)
CIE-LABlab(29.72, 52.56, -54.76)
CIE-LCHlch(29.72, 75.91, 313.83°)
OKLaboklab(41.81% 0.1046 -0.1562)
OKLCHoklch(41.81% 0.188 303.8)
XYZxyz(11.8299, 6.1236, 32.4505)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641F9D #589D1F
analogous
#251F9D #641F9D #9D1F97
triadic
#641F9D #9D641F #1F9D64
tetradic
#641F9D #9D251F #589D1F #1F979D
square
#641F9D #9D251F #589D1F #1F979D
split-complementary
#641F9D #979D1F #1F9D25
monochromatic
#230B37 #43156A #641F9D #8529D0 #A258DE

Accessibility & contrast

On white

9.44
#641F9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#641F9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641F9D
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641F9D#FFFFFF#000000##FFFFFF
##641F9D1.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A0
Deuteranopia (green-blind)
#00469B
Tritanopia (blue-blind)
#58415E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #641f9d;
/* rgb */ color: rgb(100, 31, 157);
/* oklch */ color: oklch(41.8% 0.188 303.8);
Tailwind
colors: {
  custom: {
    50: '#9664bb',
    500: '#641f9d',
    950: '#000000',
  },
}
SCSS
$custom: #641f9d;
$custom-light: #9664bb;
$custom-dark: #000000;
JSON
{
  "hex": "#641f9d",
  "rgb": {
    "r": 100,
    "g": 31,
    "b": 157
  },
  "hsl": {
    "h": 272.857,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.41812,
    "c": 0.18795,
    "h": 303.8
  },
  "luminance": 0.06124
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #641F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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