#64239F#64239F

#64239F is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.4% C 0.186 H 302.8°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#64239F
RGBrgb(100, 35, 159)
HSLhsl(271, 64%, 38%)
HSVhsv(271, 78%, 62%)
CMYKcmyk(37.1%, 78%, 0%, 37.6%)
CIE-LABlab(30.44, 51.47, -54.81)
CIE-LCHlch(30.44, 75.19, 313.20°)
OKLaboklab(42.36% 0.1007 -0.1564)
OKLCHoklch(42.36% 0.186 302.8)
XYZxyz(12.1131, 6.4146, 33.3941)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64239F #5E9F23
analogous
#26239F #64239F #9F239C
triadic
#64239F #9F6423 #239F64
tetradic
#64239F #9F2623 #5E9F23 #239C9F
square
#64239F #9F2623 #5E9F23 #239C9F
split-complementary
#64239F #9C9F23 #239F26
monochromatic
#250D3B #44186D #64239F #842ED1 #A160DC

Accessibility & contrast

On white

9.20
#64239F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #64239F
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64239F#FFFFFF#000000##FFFFFF
##64239F1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#00479D
Tritanopia (blue-blind)
#584360
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #64239f;
/* rgb */ color: rgb(100, 35, 159);
/* oklch */ color: oklch(42.4% 0.186 302.8);
Tailwind
colors: {
  custom: {
    50: '#9666bc',
    500: '#64239f',
    950: '#000000',
  },
}
SCSS
$custom: #64239f;
$custom-light: #9666bc;
$custom-dark: #000000;
JSON
{
  "hex": "#64239f",
  "rgb": {
    "r": 100,
    "g": 35,
    "b": 159
  },
  "hsl": {
    "h": 271.452,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.42363,
    "c": 0.18598,
    "h": 302.8
  },
  "luminance": 0.06415
}

Semantic roles & 50–950 ramp

primary
#64239F
secondary
#8CC15D
accent
#E74190
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #64239F

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

Preview Lab → · Contrast checker → · Palette generator →

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