#641C98#641C98

#641C98 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.1% C 0.186 H 305.6°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#641C98
RGBrgb(100, 28, 152)
HSLhsl(275, 69%, 35%)
HSVhsv(275, 82%, 60%)
CMYKcmyk(34.2%, 81.6%, 0%, 40.4%)
CIE-LABlab(28.92, 52.50, -53.02)
CIE-LCHlch(28.92, 74.62, 314.72°)
OKLaboklab(41.12% 0.1083 -0.151)
OKLCHoklch(41.12% 0.186 305.6)
XYZxyz(11.3370, 5.8069, 30.2233)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641C98 #50981C
analogous
#261C98 #641C98 #981C8E
triadic
#641C98 #98641C #1C9864
tetradic
#641C98 #98261C #50981C #1C8E98
square
#641C98 #98261C #50981C #1C8E98
split-complementary
#641C98 #8E981C #1C9826
monochromatic
#200931 #421264 #641C98 #8626CC #A350DF

Accessibility & contrast

On white

9.72
#641C98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#641C98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641C98
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641C98#FFFFFF#000000##FFFFFF
##641C981.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.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: #641c98;
/* rgb */ color: rgb(100, 28, 152);
/* oklch */ color: oklch(41.1% 0.186 305.6);
Tailwind
colors: {
  custom: {
    50: '#9662b7',
    500: '#641c98',
    950: '#000000',
  },
}
SCSS
$custom: #641c98;
$custom-light: #9662b7;
$custom-dark: #000000;
JSON
{
  "hex": "#641c98",
  "rgb": {
    "r": 100,
    "g": 28,
    "b": 152
  },
  "hsl": {
    "h": 274.839,
    "s": 68.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41121,
    "c": 0.18587,
    "h": 305.6
  },
  "luminance": 0.05807
}

Semantic roles & 50–950 ramp

primary
#641C98
secondary
#7FC14E
accent
#EC3C86
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #641C98

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

Preview Lab → · Contrast checker → · Palette generator →

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