#641F8C#641F8C

#641F8C is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.4% C 0.171 H 309.5°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#641F8C
RGBrgb(100, 31, 140)
HSLhsl(278, 64%, 34%)
HSVhsv(278, 78%, 55%)
CMYKcmyk(28.6%, 77.9%, 0%, 45.1%)
CIE-LABlab(28.34, 48.65, -46.57)
CIE-LCHlch(28.34, 67.34, 316.25°)
OKLaboklab(40.41% 0.1087 -0.1321)
OKLCHoklch(40.41% 0.171 309.5)
XYZxyz(10.4782, 5.5830, 25.3315)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641F8C #478C1F
analogous
#2D1F8C #641F8C #8C1F7D
triadic
#641F8C #8C641F #1F8C64
tetradic
#641F8C #8C2D1F #478C1F #1F7D8C
square
#641F8C #8C2D1F #478C1F #1F7D8C
split-complementary
#641F8C #7D8C1F #1F8C2D
monochromatic
#1C0928 #40145A #641F8C #882ABE #A54ED8

Accessibility & contrast

On white

9.92
#641F8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#641F8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641F8C
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641F8C#FFFFFF#000000##FFFFFF
##641F8C1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408F
Deuteranopia (green-blind)
#00448A
Tritanopia (blue-blind)
#5E3955
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #641f8c;
/* rgb */ color: rgb(100, 31, 140);
/* oklch */ color: oklch(40.4% 0.171 309.5);
Tailwind
colors: {
  custom: {
    50: '#9563ae',
    500: '#641f8c',
    950: '#000000',
  },
}
SCSS
$custom: #641f8c;
$custom-light: #9563ae;
$custom-dark: #000000;
JSON
{
  "hex": "#641f8c",
  "rgb": {
    "r": 100,
    "g": 31,
    "b": 140
  },
  "hsl": {
    "h": 277.982,
    "s": 63.743,
    "l": 33.529
  },
  "oklch": {
    "l": 0.40407,
    "c": 0.17109,
    "h": 309.5
  },
  "luminance": 0.05583
}

Semantic roles & 50–950 ramp

primary
#641F8C
secondary
#75BB4C
accent
#E7417E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #641F8C

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

Preview Lab → · Contrast checker → · Palette generator →

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