#641B98#641B98

#641B98 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.0% C 0.187 H 305.7°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#641B98
RGBrgb(100, 27, 152)
HSLhsl(275, 70%, 35%)
HSVhsv(275, 82%, 60%)
CMYKcmyk(34.2%, 82.2%, 0%, 40.4%)
CIE-LABlab(28.80, 52.86, -53.21)
CIE-LCHlch(28.80, 75.00, 314.81°)
OKLaboklab(41.04% 0.1091 -0.1516)
OKLCHoklch(41.04% 0.187 305.7)
XYZxyz(11.3137, 5.7603, 30.2155)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641B98 #4F981B
analogous
#261B98 #641B98 #981B8D
triadic
#641B98 #98641B #1B9864
tetradic
#641B98 #98261B #4F981B #1B8D98
square
#641B98 #98261B #4F981B #1B8D98
split-complementary
#641B98 #8D981B #1B9826
monochromatic
#200930 #421264 #641B98 #8624CC #A34EE0

Accessibility & contrast

On white

9.76
#641B98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#641B98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641B98
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641B98#FFFFFF#000000##FFFFFF
##641B981.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429B
Deuteranopia (green-blind)
#004496
Tritanopia (blue-blind)
#5A3D5B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #641b98;
/* rgb */ color: rgb(100, 27, 152);
/* oklch */ color: oklch(41.0% 0.187 305.7);
Tailwind
colors: {
  custom: {
    50: '#9662b7',
    500: '#641b98',
    950: '#000000',
  },
}
SCSS
$custom: #641b98;
$custom-light: #9662b7;
$custom-dark: #000000;
JSON
{
  "hex": "#641b98",
  "rgb": {
    "r": 100,
    "g": 27,
    "b": 152
  },
  "hsl": {
    "h": 275.04,
    "s": 69.832,
    "l": 35.098
  },
  "oklch": {
    "l": 0.41037,
    "c": 0.18678,
    "h": 305.7
  },
  "luminance": 0.0576
}

Semantic roles & 50–950 ramp

primary
#641B98
secondary
#7EC24D
accent
#ED3B85
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #641B98

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

Preview Lab → · Contrast checker → · Palette generator →

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