#641D88#641D88

#641D88 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.9% C 0.169 H 311.1°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#641D88
RGBrgb(100, 29, 136)
HSLhsl(280, 65%, 32%)
HSVhsv(280, 79%, 53%)
CMYKcmyk(26.5%, 78.7%, 0%, 46.7%)
CIE-LABlab(27.75, 48.53, -45.02)
CIE-LCHlch(27.75, 66.20, 317.15°)
OKLaboklab(39.9% 0.1114 -0.1276)
OKLCHoklch(39.9% 0.169 311.1)
XYZxyz(10.1380, 5.3659, 23.7894)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641D88 #41881D
analogous
#2F1D88 #641D88 #881D77
triadic
#641D88 #88641D #1D8864
tetradic
#641D88 #882F1D #41881D #1D7788
square
#641D88 #882F1D #41881D #1D7788
split-complementary
#641D88 #77881D #1D882F
monochromatic
#1A0723 #3F1256 #641D88 #8928BA #A748D8

Accessibility & contrast

On white

10.13
#641D88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#641D88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641D88
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641D88#FFFFFF#000000##FFFFFF
##641D881.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8B
Deuteranopia (green-blind)
#044386
Tritanopia (blue-blind)
#5F3752
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #641d88;
/* rgb */ color: rgb(100, 29, 136);
/* oklch */ color: oklch(39.9% 0.169 311.1);
Tailwind
colors: {
  custom: {
    50: '#9462ab',
    500: '#641d88',
    950: '#000000',
  },
}
SCSS
$custom: #641d88;
$custom-light: #9462ab;
$custom-dark: #000000;
JSON
{
  "hex": "#641d88",
  "rgb": {
    "r": 100,
    "g": 29,
    "b": 136
  },
  "hsl": {
    "h": 279.813,
    "s": 64.848,
    "l": 32.353
  },
  "oklch": {
    "l": 0.39899,
    "c": 0.16934,
    "h": 311.1
  },
  "luminance": 0.05366
}

Semantic roles & 50–950 ramp

primary
#641D88
secondary
#6EBA47
accent
#E84078
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #641D88

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

Preview Lab → · Contrast checker → · Palette generator →

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