#641895#641895

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

Color values

HEX#641895
RGBrgb(100, 24, 149)
HSLhsl(276, 72%, 34%)
HSVhsv(276, 84%, 58%)
CMYKcmyk(32.9%, 83.9%, 0%, 41.6%)
CIE-LABlab(28.20, 53.18, -52.35)
CIE-LCHlch(28.20, 74.62, 315.45°)
OKLaboklab(40.54% 0.1122 -0.149)
OKLCHoklch(40.54% 0.187 307)
XYZxyz(11.0058, 5.5327, 28.9161)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641895 #499518
analogous
#261895 #641895 #951888
triadic
#641895 #956418 #189564
tetradic
#641895 #952618 #499518 #188895
square
#641895 #952618 #499518 #188895
split-complementary
#641895 #889518 #189526
monochromatic
#1D072C #411060 #641895 #8720CA #A446E1

Accessibility & contrast

On white

9.97
#641895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#641895 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641895
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641895#FFFFFF#000000##FFFFFF
##6418951.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #641895;
/* rgb */ color: rgb(100, 24, 149);
/* oklch */ color: oklch(40.5% 0.187 307.0);
Tailwind
colors: {
  custom: {
    50: '#9660b5',
    500: '#641895',
    950: '#000000',
  },
}
SCSS
$custom: #641895;
$custom-light: #9660b5;
$custom-dark: #000000;
JSON
{
  "hex": "#641895",
  "rgb": {
    "r": 100,
    "g": 24,
    "b": 149
  },
  "hsl": {
    "h": 276.48,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.40543,
    "c": 0.18655,
    "h": 307
  },
  "luminance": 0.05533
}

Semantic roles & 50–950 ramp

primary
#641895
secondary
#77C246
accent
#EF3980
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #641895

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

Preview Lab → · Contrast checker → · Palette generator →

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