#64279D#64279D

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

Color values

HEX#64279D
RGBrgb(100, 39, 157)
HSLhsl(271, 60%, 38%)
HSVhsv(271, 75%, 62%)
CMYKcmyk(36.3%, 75.2%, 0%, 38.4%)
CIE-LABlab(30.87, 49.28, -52.90)
CIE-LCHlch(30.87, 72.30, 312.97°)
OKLaboklab(42.61% 0.0975 -0.1508)
OKLCHoklch(42.61% 0.18 302.9)
XYZxyz(12.0654, 6.5947, 32.5290)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64279D #609D27
analogous
#29279D #64279D #9D279B
triadic
#64279D #9D6427 #279D64
tetradic
#64279D #9D2927 #609D27 #279B9D
square
#64279D #9D2927 #609D27 #279B9D
split-complementary
#64279D #9B9D27 #279D29
monochromatic
#260F3B #451B6C #64279D #8335CD #A166D9

Accessibility & contrast

On white

9.06
#64279D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#64279D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64279D
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64279D#FFFFFF#000000##FFFFFF
##64279D1.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)
#0048A0
Deuteranopia (green-blind)
#00489B
Tritanopia (blue-blind)
#584560
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #64279d;
/* rgb */ color: rgb(100, 39, 157);
/* oklch */ color: oklch(42.6% 0.180 302.9);
Tailwind
colors: {
  custom: {
    50: '#9567bb',
    500: '#64279d',
    950: '#000000',
  },
}
SCSS
$custom: #64279d;
$custom-light: #9567bb;
$custom-dark: #000000;
JSON
{
  "hex": "#64279d",
  "rgb": {
    "r": 100,
    "g": 39,
    "b": 157
  },
  "hsl": {
    "h": 271.017,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.42614,
    "c": 0.17954,
    "h": 302.9
  },
  "luminance": 0.06595
}

Semantic roles & 50–950 ramp

primary
#64279D
secondary
#8EBF61
accent
#E34491
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #64279D

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

Preview Lab → · Contrast checker → · Palette generator →

#64279D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva