#641793#641793

#641793 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.3% C 0.186 H 307.7°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#641793
RGBrgb(100, 23, 147)
HSLhsl(277, 73%, 33%)
HSVhsv(277, 84%, 58%)
CMYKcmyk(32%, 84.4%, 0%, 42.4%)
CIE-LABlab(27.92, 53.06, -51.57)
CIE-LCHlch(27.92, 73.99, 315.81°)
OKLaboklab(40.3% 0.1135 -0.1467)
OKLCHoklch(40.3% 0.186 307.7)
XYZxyz(10.8273, 5.4289, 28.0756)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641793 #469317
analogous
#261793 #641793 #931784
triadic
#641793 #936417 #179364
tetradic
#641793 #932617 #469317 #178493
square
#641793 #932617 #469317 #178493
split-complementary
#641793 #849317 #179326
monochromatic
#1C0629 #400F5E #641793 #881FC8 #A543E2

Accessibility & contrast

On white

10.07
#641793 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#641793 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641793
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641793#FFFFFF#000000##FFFFFF
##6417931.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F96
Deuteranopia (green-blind)
#004291
Tritanopia (blue-blind)
#5C3957
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #641793;
/* rgb */ color: rgb(100, 23, 147);
/* oklch */ color: oklch(40.3% 0.186 307.7);
Tailwind
colors: {
  custom: {
    50: '#9560b4',
    500: '#641793',
    950: '#000000',
  },
}
SCSS
$custom: #641793;
$custom-light: #9560b4;
$custom-dark: #000000;
JSON
{
  "hex": "#641793",
  "rgb": {
    "r": 100,
    "g": 23,
    "b": 147
  },
  "hsl": {
    "h": 277.258,
    "s": 72.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.40297,
    "c": 0.18552,
    "h": 307.7
  },
  "luminance": 0.05429
}

Semantic roles & 50–950 ramp

primary
#641793
secondary
#74C244
accent
#F0387E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #641793

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

Preview Lab → · Contrast checker → · Palette generator →

#641793 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva