#64289C#64289C

#64289C is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.6% C 0.177 H 303.1°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#64289C
RGBrgb(100, 40, 156)
HSLhsl(271, 59%, 38%)
HSVhsv(271, 74%, 61%)
CMYKcmyk(35.9%, 74.4%, 0%, 38.8%)
CIE-LABlab(30.94, 48.59, -52.16)
CIE-LCHlch(30.94, 71.29, 312.97°)
OKLaboklab(42.64% 0.0967 -0.1486)
OKLCHoklch(42.64% 0.177 303.1)
XYZxyz(12.0137, 6.6272, 32.0923)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64289C #609C28
analogous
#2A289C #64289C #9C289A
triadic
#64289C #9C6428 #289C64
tetradic
#64289C #9C2A28 #609C28 #289A9C
square
#64289C #9C2A28 #609C28 #289A9C
split-complementary
#64289C #9A9C28 #289C2A
monochromatic
#260F3B #451C6B #64289C #8336CB #A167D8

Accessibility & contrast

On white

9.03
#64289C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#64289C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64289C
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64289C#FFFFFF#000000##FFFFFF
##64289C1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489F
Deuteranopia (green-blind)
#00499A
Tritanopia (blue-blind)
#594560
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #64289c;
/* rgb */ color: rgb(100, 40, 156);
/* oklch */ color: oklch(42.6% 0.177 303.1);
Tailwind
colors: {
  custom: {
    50: '#9568ba',
    500: '#64289c',
    950: '#000000',
  },
}
SCSS
$custom: #64289c;
$custom-light: #9568ba;
$custom-dark: #000000;
JSON
{
  "hex": "#64289c",
  "rgb": {
    "r": 100,
    "g": 40,
    "b": 156
  },
  "hsl": {
    "h": 271.034,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.42643,
    "c": 0.17733,
    "h": 303.1
  },
  "luminance": 0.06627
}

Semantic roles & 50–950 ramp

primary
#64289C
secondary
#8EBE62
accent
#E24591
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #64289C

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

Preview Lab → · Contrast checker → · Palette generator →

#64289C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva