#641D8C#641D8C

#641D8C is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.2% C 0.173 H 309.6°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#641D8C
RGBrgb(100, 29, 140)
HSLhsl(278, 66%, 33%)
HSVhsv(278, 79%, 55%)
CMYKcmyk(28.6%, 79.3%, 0%, 45.1%)
CIE-LABlab(28.07, 49.42, -47.01)
CIE-LCHlch(28.07, 68.21, 316.44°)
OKLaboklab(40.22% 0.1105 -0.1334)
OKLCHoklch(40.22% 0.173 309.6)
XYZxyz(10.4276, 5.4817, 25.3146)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641D8C #458C1D
analogous
#2C1D8C #641D8C #8C1D7C
triadic
#641D8C #8C641D #1D8C64
tetradic
#641D8C #8C2C1D #458C1D #1D7C8C
square
#641D8C #8C2C1D #458C1D #1D7C8C
split-complementary
#641D8C #7C8C1D #1D8C2C
monochromatic
#1C0827 #401259 #641D8C #8828BF #A64AD9

Accessibility & contrast

On white

10.02
#641D8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#641D8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641D8C
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641D8C#FFFFFF#000000##FFFFFF
##641D8C1.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8F
Deuteranopia (green-blind)
#00438A
Tritanopia (blue-blind)
#5E3854
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #641d8c;
/* rgb */ color: rgb(100, 29, 140);
/* oklch */ color: oklch(40.2% 0.173 309.6);
Tailwind
colors: {
  custom: {
    50: '#9562ae',
    500: '#641d8c',
    950: '#000000',
  },
}
SCSS
$custom: #641d8c;
$custom-light: #9562ae;
$custom-dark: #000000;
JSON
{
  "hex": "#641d8c",
  "rgb": {
    "r": 100,
    "g": 29,
    "b": 140
  },
  "hsl": {
    "h": 278.378,
    "s": 65.68,
    "l": 33.137
  },
  "oklch": {
    "l": 0.40217,
    "c": 0.17323,
    "h": 309.6
  },
  "luminance": 0.05482
}

Semantic roles & 50–950 ramp

primary
#641D8C
secondary
#72BC49
accent
#E93F7C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #641D8C

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

Preview Lab → · Contrast checker → · Palette generator →

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