#64239E#64239E

#64239E is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.3% C 0.185 H 303.1°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#64239E
RGBrgb(100, 35, 158)
HSLhsl(272, 64%, 38%)
HSVhsv(272, 78%, 62%)
CMYKcmyk(36.7%, 77.8%, 0%, 38%)
CIE-LABlab(30.35, 51.23, -54.34)
CIE-LCHlch(30.35, 74.68, 313.31°)
OKLaboklab(42.28% 0.1009 -0.155)
OKLCHoklch(42.28% 0.185 303.1)
XYZxyz(12.0267, 6.3800, 32.9390)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64239E #5D9E23
analogous
#26239E #64239E #9E239B
triadic
#64239E #9E6423 #239E64
tetradic
#64239E #9E2623 #5D9E23 #239B9E
square
#64239E #9E2623 #5D9E23 #239B9E
split-complementary
#64239E #9B9E23 #239E26
monochromatic
#250D3A #44186C #64239E #842ED0 #A160DC

Accessibility & contrast

On white

9.23
#64239E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#64239E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64239E
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64239E#FFFFFF#000000##FFFFFF
##64239E1.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A1
Deuteranopia (green-blind)
#00479C
Tritanopia (blue-blind)
#584360
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #64239e;
/* rgb */ color: rgb(100, 35, 158);
/* oklch */ color: oklch(42.3% 0.185 303.1);
Tailwind
colors: {
  custom: {
    50: '#9665bc',
    500: '#64239e',
    950: '#000000',
  },
}
SCSS
$custom: #64239e;
$custom-light: #9665bc;
$custom-dark: #000000;
JSON
{
  "hex": "#64239e",
  "rgb": {
    "r": 100,
    "g": 35,
    "b": 158
  },
  "hsl": {
    "h": 271.707,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.42278,
    "c": 0.18495,
    "h": 303.1
  },
  "luminance": 0.0638
}

Semantic roles & 50–950 ramp

primary
#64239E
secondary
#8CC15C
accent
#E7418F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #64239E

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

Preview Lab → · Contrast checker → · Palette generator →

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