#64138F#64138F

#64138F is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.7% C 0.185 H 309.4°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#64138F
RGBrgb(100, 19, 143)
HSLhsl(279, 77%, 32%)
HSVhsv(279, 87%, 56%)
CMYKcmyk(30.1%, 86.7%, 0%, 43.9%)
CIE-LABlab(27.18, 53.37, -50.30)
CIE-LCHlch(27.18, 73.34, 316.69°)
OKLaboklab(39.68% 0.1174 -0.143)
OKLCHoklch(39.68% 0.185 309.4)
XYZxyz(10.4453, 5.1585, 26.4267)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64138F #3E8F13
analogous
#26138F #64138F #8F137C
triadic
#64138F #8F6413 #138F64
tetradic
#64138F #8F2613 #3E8F13 #137C8F
square
#64138F #8F2613 #3E8F13 #137C8F
split-complementary
#64138F #7C8F13 #138F26
monochromatic
#180523 #3E0C59 #64138F #8A1AC5 #A938E5

Accessibility & contrast

On white

10.34
#64138F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #64138F
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64138F#FFFFFF#000000##FFFFFF
##64138F1.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D92
Deuteranopia (green-blind)
#00418D
Tritanopia (blue-blind)
#5D3654
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #64138f;
/* rgb */ color: rgb(100, 19, 143);
/* oklch */ color: oklch(39.7% 0.185 309.4);
Tailwind
colors: {
  custom: {
    50: '#955eb1',
    500: '#64138f',
    950: '#000000',
  },
}
SCSS
$custom: #64138f;
$custom-light: #955eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#64138f",
  "rgb": {
    "r": 100,
    "g": 19,
    "b": 143
  },
  "hsl": {
    "h": 279.194,
    "s": 76.543,
    "l": 31.765
  },
  "oklch": {
    "l": 0.39677,
    "c": 0.18501,
    "h": 309.4
  },
  "luminance": 0.05158
}

Semantic roles & 50–950 ramp

primary
#64138F
secondary
#6AC33B
accent
#F33577
background
#F9F5FB
surface
#F2EAF6
border
#CCC6D0
text
#0E0511
muted
#7E7980

Preview Lab

Preview with #64138F

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

Preview Lab → · Contrast checker → · Palette generator →

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