#64279F#64279F

#64279F is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.8% C 0.182 H 302.3°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#64279F
RGBrgb(100, 39, 159)
HSLhsl(271, 61%, 39%)
HSVhsv(271, 75%, 62%)
CMYKcmyk(37.1%, 75.5%, 0%, 37.6%)
CIE-LABlab(31.03, 49.77, -53.85)
CIE-LCHlch(31.03, 73.33, 312.75°)
OKLaboklab(42.78% 0.0971 -0.1536)
OKLCHoklch(42.78% 0.182 302.3)
XYZxyz(12.2376, 6.6635, 33.4356)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64279F #629F27
analogous
#28279F #64279F #9F279E
triadic
#64279F #9F6427 #279F64
tetradic
#64279F #9F2827 #629F27 #279E9F
square
#64279F #9F2827 #629F27 #279E9F
split-complementary
#64279F #9E9F27 #279F28
monochromatic
#260F3D #451B6E #64279F #8336CE #A167DA

Accessibility & contrast

On white

9.00
#64279F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#64279F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64279F
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64279F#FFFFFF#000000##FFFFFF
##64279F1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A2
Deuteranopia (green-blind)
#00499D
Tritanopia (blue-blind)
#584561
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #64279f;
/* rgb */ color: rgb(100, 39, 159);
/* oklch */ color: oklch(42.8% 0.182 302.3);
Tailwind
colors: {
  custom: {
    50: '#9667bc',
    500: '#64279f',
    950: '#000000',
  },
}
SCSS
$custom: #64279f;
$custom-light: #9667bc;
$custom-dark: #000000;
JSON
{
  "hex": "#64279f",
  "rgb": {
    "r": 100,
    "g": 39,
    "b": 159
  },
  "hsl": {
    "h": 270.5,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.4278,
    "c": 0.18166,
    "h": 302.3
  },
  "luminance": 0.06664
}

Semantic roles & 50–950 ramp

primary
#64279F
secondary
#90C062
accent
#E44493
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #64279F

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

Preview Lab → · Contrast checker → · Palette generator →

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