#64279B#64279B

#64279B is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.4% C 0.177 H 303.5°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#64279B
RGBrgb(100, 39, 155)
HSLhsl(272, 60%, 38%)
HSVhsv(272, 75%, 61%)
CMYKcmyk(35.5%, 74.8%, 0%, 39.2%)
CIE-LABlab(30.70, 48.79, -51.94)
CIE-LCHlch(30.70, 71.27, 313.21°)
OKLaboklab(42.45% 0.0979 -0.148)
OKLCHoklch(42.45% 0.177 303.5)
XYZxyz(11.8961, 6.5269, 31.6371)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64279B #5E9B27
analogous
#2A279B #64279B #9B2798
triadic
#64279B #9B6427 #279B64
tetradic
#64279B #9B2A27 #5E9B27 #27989B
square
#64279B #9B2A27 #5E9B27 #27989B
split-complementary
#64279B #989B27 #279B2A
monochromatic
#250E39 #441B6A #64279B #8433CC #A164D8

Accessibility & contrast

On white

9.11
#64279B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #64279B
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64279B#FFFFFF#000000##FFFFFF
##64279B1.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #64279b;
/* rgb */ color: rgb(100, 39, 155);
/* oklch */ color: oklch(42.4% 0.177 303.5);
Tailwind
colors: {
  custom: {
    50: '#9567b9',
    500: '#64279b',
    950: '#000000',
  },
}
SCSS
$custom: #64279b;
$custom-light: #9567b9;
$custom-dark: #000000;
JSON
{
  "hex": "#64279b",
  "rgb": {
    "r": 100,
    "g": 39,
    "b": 155
  },
  "hsl": {
    "h": 271.552,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.4245,
    "c": 0.17743,
    "h": 303.5
  },
  "luminance": 0.06527
}

Semantic roles & 50–950 ramp

primary
#64279B
secondary
#8CBE60
accent
#E34590
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #64279B

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

Preview Lab → · Contrast checker → · Palette generator →

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