#641795#641795

#641795 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.5% C 0.187 H 307.1°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#641795
RGBrgb(100, 23, 149)
HSLhsl(277, 73%, 34%)
HSVhsv(277, 85%, 58%)
CMYKcmyk(32.9%, 84.6%, 0%, 41.6%)
CIE-LABlab(28.09, 53.50, -52.52)
CIE-LCHlch(28.09, 74.97, 315.53°)
OKLaboklab(40.47% 0.1129 -0.1495)
OKLCHoklch(40.47% 0.187 307.1)
XYZxyz(10.9856, 5.4922, 28.9093)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641795 #489517
analogous
#251795 #641795 #951787
triadic
#641795 #956417 #179564
tetradic
#641795 #952517 #489517 #178795
square
#641795 #952517 #489517 #178795
split-complementary
#641795 #879517 #179525
monochromatic
#1D072B #400F60 #641795 #881FCA #A544E2

Accessibility & contrast

On white

10.01
#641795 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #641795
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641795#FFFFFF#000000##FFFFFF
##6417951.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004098
Deuteranopia (green-blind)
#004393
Tritanopia (blue-blind)
#5B3A58
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #641795;
/* rgb */ color: rgb(100, 23, 149);
/* oklch */ color: oklch(40.5% 0.187 307.1);
Tailwind
colors: {
  custom: {
    50: '#9660b5',
    500: '#641795',
    950: '#000000',
  },
}
SCSS
$custom: #641795;
$custom-light: #9660b5;
$custom-dark: #000000;
JSON
{
  "hex": "#641795",
  "rgb": {
    "r": 100,
    "g": 23,
    "b": 149
  },
  "hsl": {
    "h": 276.667,
    "s": 73.256,
    "l": 33.725
  },
  "oklch": {
    "l": 0.40468,
    "c": 0.18738,
    "h": 307.1
  },
  "luminance": 0.05492
}

Semantic roles & 50–950 ramp

primary
#641795
secondary
#76C345
accent
#F0387F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #641795

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

Preview Lab → · Contrast checker → · Palette generator →

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