#641257#641257

#641257 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.5% C 0.138 H 335.6°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#641257
RGBrgb(100, 18, 87)
HSLhsl(310, 69%, 23%)
HSVhsv(310, 82%, 39%)
CMYKcmyk(0%, 82%, 13%, 60.8%)
CIE-LABlab(23.10, 42.93, -20.90)
CIE-LCHlch(23.10, 47.75, 334.05°)
OKLaboklab(35.55% 0.1257 -0.0571)
OKLCHoklch(35.55% 0.138 335.6)
XYZxyz(7.1922, 3.8307, 9.3756)
Luminance0.0383 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641257 #12641F
analogous
#481264 #641257 #64122E
triadic
#641257 #576412 #125764
tetradic
#641257 #644812 #12641F #122E64
square
#641257 #644812 #12641F #122E64
split-complementary
#641257 #2E6412 #126448
monochromatic
#1A0517 #30092A #641257 #981B84 #CC25B1

Accessibility & contrast

On white

11.89
#641257 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#641257 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641257
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641257#FFFFFF#000000##FFFFFF
##6412571.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122F59
Deuteranopia (green-blind)
#313B55
Tritanopia (blue-blind)
#691934
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #641257;
/* rgb */ color: rgb(100, 18, 87);
/* oklch */ color: oklch(35.5% 0.138 335.6);
Tailwind
colors: {
  custom: {
    50: '#935b86',
    500: '#641257',
    950: '#000000',
  },
}
SCSS
$custom: #641257;
$custom-light: #935b86;
$custom-dark: #000000;
JSON
{
  "hex": "#641257",
  "rgb": {
    "r": 100,
    "g": 18,
    "b": 87
  },
  "hsl": {
    "h": 309.512,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.35545,
    "c": 0.13808,
    "h": 335.6
  },
  "luminance": 0.0383
}

Semantic roles & 50–950 ramp

primary
#641257
secondary
#369C46
accent
#EC583B
background
#F9F5F8
surface
#F2E9EF
border
#CCC5CA
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #641257

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

Preview Lab → · Contrast checker → · Palette generator →

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