#641D98#641D98

#641D98 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.2% C 0.185 H 305.6°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#641D98
RGBrgb(100, 29, 152)
HSLhsl(275, 68%, 35%)
HSVhsv(275, 81%, 60%)
CMYKcmyk(34.2%, 80.9%, 0%, 40.4%)
CIE-LABlab(29.04, 52.15, -52.81)
CIE-LCHlch(29.04, 74.22, 314.63°)
OKLaboklab(41.21% 0.1075 -0.1504)
OKLCHoklch(41.21% 0.185 305.6)
XYZxyz(11.3611, 5.8551, 30.2313)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641D98 #51981D
analogous
#261D98 #641D98 #981D8E
triadic
#641D98 #98641D #1D9864
tetradic
#641D98 #98261D #51981D #1D8E98
square
#641D98 #98261D #51981D #1D8E98
split-complementary
#641D98 #8E981D #1D9826
monochromatic
#200931 #421365 #641D98 #8627CB #A352DE

Accessibility & contrast

On white

9.67
#641D98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#641D98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641D98
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641D98#FFFFFF#000000##FFFFFF
##641D981.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439B
Deuteranopia (green-blind)
#004596
Tritanopia (blue-blind)
#5A3E5B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #641d98;
/* rgb */ color: rgb(100, 29, 152);
/* oklch */ color: oklch(41.2% 0.185 305.6);
Tailwind
colors: {
  custom: {
    50: '#9662b7',
    500: '#641d98',
    950: '#000000',
  },
}
SCSS
$custom: #641d98;
$custom-light: #9662b7;
$custom-dark: #000000;
JSON
{
  "hex": "#641d98",
  "rgb": {
    "r": 100,
    "g": 29,
    "b": 152
  },
  "hsl": {
    "h": 274.634,
    "s": 67.956,
    "l": 35.49
  },
  "oklch": {
    "l": 0.41208,
    "c": 0.18493,
    "h": 305.6
  },
  "luminance": 0.05855
}

Semantic roles & 50–950 ramp

primary
#641D98
secondary
#80C150
accent
#EB3D86
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #641D98

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

Preview Lab → · Contrast checker → · Palette generator →

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