#64138E#64138E

#64138E is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.6% C 0.184 H 309.7°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#64138E
RGBrgb(100, 19, 142)
HSLhsl(280, 76%, 32%)
HSVhsv(280, 87%, 56%)
CMYKcmyk(29.6%, 86.6%, 0%, 44.3%)
CIE-LABlab(27.10, 53.15, -49.82)
CIE-LCHlch(27.10, 72.85, 316.85°)
OKLaboklab(39.59% 0.1177 -0.1416)
OKLCHoklch(39.59% 0.184 309.7)
XYZxyz(10.3699, 5.1283, 26.0295)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64138E #3D8E13
analogous
#26138E #64138E #8E137B
triadic
#64138E #8E6413 #138E64
tetradic
#64138E #8E2613 #3D8E13 #137B8E
square
#64138E #8E2613 #3D8E13 #137B8E
split-complementary
#64138E #7B8E13 #138E26
monochromatic
#180522 #3E0C58 #64138E #8A1AC4 #A937E4

Accessibility & contrast

On white

10.37
#64138E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#64138E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64138E
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64138E#FFFFFF#000000##FFFFFF
##64138E1.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D91
Deuteranopia (green-blind)
#00418C
Tritanopia (blue-blind)
#5E3553
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #64138e;
/* rgb */ color: rgb(100, 19, 142);
/* oklch */ color: oklch(39.6% 0.184 309.7);
Tailwind
colors: {
  custom: {
    50: '#955eb0',
    500: '#64138e',
    950: '#000000',
  },
}
SCSS
$custom: #64138e;
$custom-light: #955eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#64138e",
  "rgb": {
    "r": 100,
    "g": 19,
    "b": 142
  },
  "hsl": {
    "h": 279.512,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.39593,
    "c": 0.18411,
    "h": 309.7
  },
  "luminance": 0.05128
}

Semantic roles & 50–950 ramp

primary
#64138E
secondary
#69C23B
accent
#F33576
background
#F9F5FA
surface
#F2EAF5
border
#CCC6CF
text
#0E0511
muted
#7E7980

Preview Lab

Preview with #64138E

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

Preview Lab → · Contrast checker → · Palette generator →

#64138E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva