#641F88#641F88

#641F88 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.1% C 0.167 H 310.9°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#641F88
RGBrgb(100, 31, 136)
HSLhsl(279, 63%, 33%)
HSVhsv(279, 77%, 53%)
CMYKcmyk(26.5%, 77.2%, 0%, 46.7%)
CIE-LABlab(28.03, 47.75, -44.58)
CIE-LCHlch(28.03, 65.33, 316.97°)
OKLaboklab(40.09% 0.1095 -0.1263)
OKLCHoklch(40.09% 0.167 310.9)
XYZxyz(10.1886, 5.4671, 23.8063)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641F88 #43881F
analogous
#301F88 #641F88 #881F77
triadic
#641F88 #88641F #1F8864
tetradic
#641F88 #88301F #43881F #1F7788
square
#641F88 #88301F #43881F #1F7788
split-complementary
#641F88 #77881F #1F8830
monochromatic
#1B0824 #3F1456 #641F88 #892ABA #A64BD6

Accessibility & contrast

On white

10.03
#641F88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #641F88
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641F88#FFFFFF#000000##FFFFFF
##641F881.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8B
Deuteranopia (green-blind)
#084386
Tritanopia (blue-blind)
#5F3852
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #641f88;
/* rgb */ color: rgb(100, 31, 136);
/* oklch */ color: oklch(40.1% 0.167 310.9);
Tailwind
colors: {
  custom: {
    50: '#9462ab',
    500: '#641f88',
    950: '#000000',
  },
}
SCSS
$custom: #641f88;
$custom-light: #9462ab;
$custom-dark: #000000;
JSON
{
  "hex": "#641f88",
  "rgb": {
    "r": 100,
    "g": 31,
    "b": 136
  },
  "hsl": {
    "h": 279.429,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.40092,
    "c": 0.16713,
    "h": 310.9
  },
  "luminance": 0.05467
}

Semantic roles & 50–950 ramp

primary
#641F88
secondary
#70B94A
accent
#E6427A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #641F88

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

Preview Lab → · Contrast checker → · Palette generator →

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