#64279C#64279C

#64279C is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.5% C 0.178 H 303.2°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#64279C
RGBrgb(100, 39, 156)
HSLhsl(271, 60%, 38%)
HSVhsv(271, 75%, 61%)
CMYKcmyk(35.9%, 75%, 0%, 38.8%)
CIE-LABlab(30.79, 49.04, -52.42)
CIE-LCHlch(30.79, 71.78, 313.09°)
OKLaboklab(42.53% 0.0977 -0.1494)
OKLCHoklch(42.53% 0.178 303.2)
XYZxyz(11.9804, 6.5607, 32.0812)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64279C #5F9C27
analogous
#29279C #64279C #9C2799
triadic
#64279C #9C6427 #279C64
tetradic
#64279C #9C2927 #5F9C27 #27999C
square
#64279C #9C2927 #5F9C27 #27999C
split-complementary
#64279C #999C27 #279C29
monochromatic
#250F3A #451B6B #64279C #8334CC #A165D8

Accessibility & contrast

On white

9.08
#64279C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#64279C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64279C
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64279C#FFFFFF#000000##FFFFFF
##64279C1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479F
Deuteranopia (green-blind)
#00489A
Tritanopia (blue-blind)
#59445F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #64279c;
/* rgb */ color: rgb(100, 39, 156);
/* oklch */ color: oklch(42.5% 0.178 303.2);
Tailwind
colors: {
  custom: {
    50: '#9567ba',
    500: '#64279c',
    950: '#000000',
  },
}
SCSS
$custom: #64279c;
$custom-light: #9567ba;
$custom-dark: #000000;
JSON
{
  "hex": "#64279c",
  "rgb": {
    "r": 100,
    "g": 39,
    "b": 156
  },
  "hsl": {
    "h": 271.282,
    "s": 60,
    "l": 38.235
  },
  "oklch": {
    "l": 0.42532,
    "c": 0.17849,
    "h": 303.2
  },
  "luminance": 0.06561
}

Semantic roles & 50–950 ramp

primary
#64279C
secondary
#8DBE61
accent
#E34591
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #64279C

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

Preview Lab → · Contrast checker → · Palette generator →

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