#64289B#64289B

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

Color values

HEX#64289B
RGBrgb(100, 40, 155)
HSLhsl(271, 59%, 38%)
HSVhsv(271, 74%, 61%)
CMYKcmyk(35.5%, 74.2%, 0%, 39.2%)
CIE-LABlab(30.86, 48.34, -51.68)
CIE-LCHlch(30.86, 70.77, 313.09°)
OKLaboklab(42.56% 0.097 -0.1472)
OKLCHoklch(42.56% 0.176 303.4)
XYZxyz(11.9293, 6.5935, 31.6482)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64289B #5F9B28
analogous
#2A289B #64289B #9B2898
triadic
#64289B #9B6428 #289B64
tetradic
#64289B #9B2A28 #5F9B28 #28989B
square
#64289B #9B2A28 #5F9B28 #28989B
split-complementary
#64289B #989B28 #289B2A
monochromatic
#250F3A #451B6A #64289B #8335CB #A166D7

Accessibility & contrast

On white

9.06
#64289B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#64289B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64289B
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64289B#FFFFFF#000000##FFFFFF
##64289B1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479E
Deuteranopia (green-blind)
#004899
Tritanopia (blue-blind)
#59445F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #64289b;
/* rgb */ color: rgb(100, 40, 155);
/* oklch */ color: oklch(42.6% 0.176 303.4);
Tailwind
colors: {
  custom: {
    50: '#9568b9',
    500: '#64289b',
    950: '#000000',
  },
}
SCSS
$custom: #64289b;
$custom-light: #9568b9;
$custom-dark: #000000;
JSON
{
  "hex": "#64289b",
  "rgb": {
    "r": 100,
    "g": 40,
    "b": 155
  },
  "hsl": {
    "h": 271.304,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.42562,
    "c": 0.17627,
    "h": 303.4
  },
  "luminance": 0.06593
}

Semantic roles & 50–950 ramp

primary
#64289B
secondary
#8DBD61
accent
#E24690
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #64289B

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

Preview Lab → · Contrast checker → · Palette generator →

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