#641796#641796

#641796 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.6% C 0.188 H 306.7°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#641796
RGBrgb(100, 23, 150)
HSLhsl(276, 73%, 34%)
HSVhsv(276, 85%, 59%)
CMYKcmyk(33.3%, 84.7%, 0%, 41.2%)
CIE-LABlab(28.18, 53.72, -53.00)
CIE-LCHlch(28.18, 75.46, 315.39°)
OKLaboklab(40.55% 0.1126 -0.1509)
OKLCHoklch(40.55% 0.188 306.7)
XYZxyz(11.0657, 5.5243, 29.3316)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641796 #499617
analogous
#251796 #641796 #961789
triadic
#641796 #966417 #179664
tetradic
#641796 #962517 #499617 #178996
square
#641796 #962517 #499617 #178996
split-complementary
#641796 #899617 #179625
monochromatic
#1D072C #410F61 #641796 #871FCB #A445E2

Accessibility & contrast

On white

9.98
#641796 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#641796 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641796
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641796#FFFFFF#000000##FFFFFF
##6417961.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004099
Deuteranopia (green-blind)
#004394
Tritanopia (blue-blind)
#5B3A59
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #641796;
/* rgb */ color: rgb(100, 23, 150);
/* oklch */ color: oklch(40.6% 0.188 306.7);
Tailwind
colors: {
  custom: {
    50: '#9660b6',
    500: '#641796',
    950: '#000000',
  },
}
SCSS
$custom: #641796;
$custom-light: #9660b6;
$custom-dark: #000000;
JSON
{
  "hex": "#641796",
  "rgb": {
    "r": 100,
    "g": 23,
    "b": 150
  },
  "hsl": {
    "h": 276.378,
    "s": 73.41,
    "l": 33.922
  },
  "oklch": {
    "l": 0.40554,
    "c": 0.18832,
    "h": 306.7
  },
  "luminance": 0.05524
}

Semantic roles & 50–950 ramp

primary
#641796
secondary
#77C345
accent
#F03880
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #641796

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

Preview Lab → · Contrast checker → · Palette generator →

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