#64137F#64137F

#64137F is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.4% C 0.171 H 315.4°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#64137F
RGBrgb(100, 19, 127)
HSLhsl(285, 74%, 29%)
HSVhsv(285, 85%, 50%)
CMYKcmyk(21.3%, 85%, 0%, 50.2%)
CIE-LABlab(25.89, 50.01, -42.40)
CIE-LCHlch(25.89, 65.57, 319.71°)
OKLaboklab(38.37% 0.1216 -0.1198)
OKLCHoklch(38.37% 0.171 315.4)
XYZxyz(9.3185, 4.7077, 20.4924)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64137F #2E7F13
analogous
#2E137F #64137F #7F1364
triadic
#64137F #7F6413 #137F64
tetradic
#64137F #7F2E13 #2E7F13 #13647F
square
#64137F #7F2E13 #2E7F13 #13647F
split-complementary
#64137F #647F13 #137F2E
monochromatic
#15041B #3A0B4A #64137F #8E1BB4 #B32DE0

Accessibility & contrast

On white

10.82
#64137F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#64137F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64137F
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64137F#FFFFFF#000000##FFFFFF
##64137F1.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003982
Deuteranopia (green-blind)
#0D3F7D
Tritanopia (blue-blind)
#622E4B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #64137f;
/* rgb */ color: rgb(100, 19, 127);
/* oklch */ color: oklch(38.4% 0.171 315.4);
Tailwind
colors: {
  custom: {
    50: '#945da5',
    500: '#64137f',
    950: '#000000',
  },
}
SCSS
$custom: #64137f;
$custom-light: #945da5;
$custom-dark: #000000;
JSON
{
  "hex": "#64137f",
  "rgb": {
    "r": 100,
    "g": 19,
    "b": 127
  },
  "hsl": {
    "h": 285,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.3837,
    "c": 0.17068,
    "h": 315.4
  },
  "luminance": 0.04707
}

Semantic roles & 50–950 ramp

primary
#64137F
secondary
#58B439
accent
#F13766
background
#F9F5FA
surface
#F2E9F4
border
#CCC5CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #64137F

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

Preview Lab → · Contrast checker → · Palette generator →

#64137F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva