#64268B#64268B

#64268B is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.1% C 0.162 H 309.0°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#64268B
RGBrgb(100, 38, 139)
HSLhsl(277, 57%, 35%)
HSVhsv(277, 73%, 55%)
CMYKcmyk(28.1%, 72.7%, 0%, 45.5%)
CIE-LABlab(29.31, 45.43, -44.37)
CIE-LCHlch(29.31, 63.50, 315.68°)
OKLaboklab(41.07% 0.1018 -0.1257)
OKLCHoklch(41.07% 0.162 309)
XYZxyz(10.6079, 5.9598, 25.0126)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64268B #4D8B26
analogous
#32268B #64268B #8B267F
triadic
#64268B #8B6426 #268B64
tetradic
#64268B #8B3226 #4D8B26 #267F8B
square
#64268B #8B3226 #4D8B26 #267F8B
split-complementary
#64268B #7F8B26 #268B32
monochromatic
#1F0C2B #41195B #64268B #8733BB #A35AD2

Accessibility & contrast

On white

9.58
#64268B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#64268B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64268B
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64268B#FFFFFF#000000##FFFFFF
##64268B1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438E
Deuteranopia (green-blind)
#0F4689
Tritanopia (blue-blind)
#5E3D56
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #64268b;
/* rgb */ color: rgb(100, 38, 139);
/* oklch */ color: oklch(41.1% 0.162 309.0);
Tailwind
colors: {
  custom: {
    50: '#9466ae',
    500: '#64268b',
    950: '#000000',
  },
}
SCSS
$custom: #64268b;
$custom-light: #9466ae;
$custom-dark: #000000;
JSON
{
  "hex": "#64268b",
  "rgb": {
    "r": 100,
    "g": 38,
    "b": 139
  },
  "hsl": {
    "h": 276.832,
    "s": 57.062,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41074,
    "c": 0.16176,
    "h": 309
  },
  "luminance": 0.0596
}

Semantic roles & 50–950 ramp

primary
#64268B
secondary
#7BB756
accent
#E04782
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #64268B

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

Preview Lab → · Contrast checker → · Palette generator →

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