#641A8F#641A8F

#641A8F is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.2% C 0.179 H 308.9°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#641A8F
RGBrgb(100, 26, 143)
HSLhsl(278, 69%, 33%)
HSVhsv(278, 82%, 56%)
CMYKcmyk(30.1%, 81.8%, 0%, 43.9%)
CIE-LABlab(27.93, 51.18, -49.08)
CIE-LCHlch(27.93, 70.91, 316.20°)
OKLaboklab(40.2% 0.1123 -0.1395)
OKLCHoklch(40.2% 0.179 308.9)
XYZxyz(10.5818, 5.4315, 26.4722)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641A8F #458F1A
analogous
#2A1A8F #641A8F #8F1A7F
triadic
#641A8F #8F641A #1A8F64
tetradic
#641A8F #8F2A1A #458F1A #1A7F8F
square
#641A8F #8F2A1A #458F1A #1A7F8F
split-complementary
#641A8F #7F8F1A #1A8F2A
monochromatic
#1C0727 #40115B #641A8F #8823C3 #A646DD

Accessibility & contrast

On white

10.07
#641A8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#641A8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641A8F
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641A8F#FFFFFF#000000##FFFFFF
##641A8F1.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F92
Deuteranopia (green-blind)
#00438D
Tritanopia (blue-blind)
#5D3855
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #641a8f;
/* rgb */ color: rgb(100, 26, 143);
/* oklch */ color: oklch(40.2% 0.179 308.9);
Tailwind
colors: {
  custom: {
    50: '#9561b1',
    500: '#641a8f',
    950: '#000000',
  },
}
SCSS
$custom: #641a8f;
$custom-light: #9561b1;
$custom-dark: #000000;
JSON
{
  "hex": "#641a8f",
  "rgb": {
    "r": 100,
    "g": 26,
    "b": 143
  },
  "hsl": {
    "h": 277.949,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.40198,
    "c": 0.17909,
    "h": 308.9
  },
  "luminance": 0.05431
}

Semantic roles & 50–950 ramp

primary
#641A8F
secondary
#72BF46
accent
#EC3C7D
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #641A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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