#641790#641790

#641790 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 40.0% C 0.183 H 308.7°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#641790
RGBrgb(100, 23, 144)
HSLhsl(278, 72%, 33%)
HSVhsv(278, 84%, 56%)
CMYKcmyk(30.6%, 84%, 0%, 43.5%)
CIE-LABlab(27.67, 52.40, -50.13)
CIE-LCHlch(27.67, 72.51, 316.27°)
OKLaboklab(40.04% 0.1144 -0.1425)
OKLCHoklch(40.04% 0.183 308.7)
XYZxyz(10.5949, 5.3359, 26.8519)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641790 #439017
analogous
#281790 #641790 #90177F
triadic
#641790 #906417 #179064
tetradic
#641790 #902817 #439017 #177F90
square
#641790 #902817 #439017 #177F90
split-complementary
#641790 #7F9017 #179028
monochromatic
#1B0626 #3F0F5B #641790 #891FC5 #A641E1

Accessibility & contrast

On white

10.16
#641790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#641790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641790
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641790#FFFFFF#000000##FFFFFF
##6417901.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F93
Deuteranopia (green-blind)
#00428E
Tritanopia (blue-blind)
#5D3855
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #641790;
/* rgb */ color: rgb(100, 23, 144);
/* oklch */ color: oklch(40.0% 0.183 308.7);
Tailwind
colors: {
  custom: {
    50: '#9560b1',
    500: '#641790',
    950: '#000000',
  },
}
SCSS
$custom: #641790;
$custom-light: #9560b1;
$custom-dark: #000000;
JSON
{
  "hex": "#641790",
  "rgb": {
    "r": 100,
    "g": 23,
    "b": 144
  },
  "hsl": {
    "h": 278.182,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.40043,
    "c": 0.18272,
    "h": 308.7
  },
  "luminance": 0.05336
}

Semantic roles & 50–950 ramp

primary
#641790
secondary
#70C142
accent
#EF397B
background
#F9F5FB
surface
#F2EAF6
border
#CCC6D0
text
#0E0511
muted
#7E7980

Preview Lab

Preview with #641790

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

Preview Lab → · Contrast checker → · Palette generator →

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