#641F98#641F98

#641F98 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.4% C 0.183 H 305.4°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#641F98
RGBrgb(100, 31, 152)
HSLhsl(274, 66%, 36%)
HSVhsv(274, 80%, 60%)
CMYKcmyk(34.2%, 79.6%, 0%, 40.4%)
CIE-LABlab(29.30, 51.40, -52.39)
CIE-LCHlch(29.30, 73.39, 314.45°)
OKLaboklab(41.39% 0.1059 -0.1492)
OKLCHoklch(41.39% 0.183 305.4)
XYZxyz(11.4117, 5.9564, 30.2482)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641F98 #53981F
analogous
#281F98 #641F98 #981F8F
triadic
#641F98 #98641F #1F9864
tetradic
#641F98 #98281F #53981F #1F8F98
square
#641F98 #98281F #53981F #1F8F98
split-complementary
#641F98 #8F981F #1F9828
monochromatic
#210A32 #431565 #641F98 #8529CB #A255DC

Accessibility & contrast

On white

9.58
#641F98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#641F98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641F98
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641F98#FFFFFF#000000##FFFFFF
##641F981.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #641f98;
/* rgb */ color: rgb(100, 31, 152);
/* oklch */ color: oklch(41.4% 0.183 305.4);
Tailwind
colors: {
  custom: {
    50: '#9563b7',
    500: '#641f98',
    950: '#000000',
  },
}
SCSS
$custom: #641f98;
$custom-light: #9563b7;
$custom-dark: #000000;
JSON
{
  "hex": "#641f98",
  "rgb": {
    "r": 100,
    "g": 31,
    "b": 152
  },
  "hsl": {
    "h": 274.215,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41388,
    "c": 0.18298,
    "h": 305.4
  },
  "luminance": 0.05956
}

Semantic roles & 50–950 ramp

primary
#641F98
secondary
#82C053
accent
#E93F88
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #641F98

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

Preview Lab → · Contrast checker → · Palette generator →

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