#64308A#64308A

#64308A is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.3% C 0.147 H 307.9°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#64308A
RGBrgb(100, 48, 138)
HSLhsl(275, 48%, 36%)
HSVhsv(275, 65%, 54%)
CMYKcmyk(27.5%, 65.2%, 0%, 45.9%)
CIE-LABlab(31.02, 40.26, -41.00)
CIE-LCHlch(31.02, 57.46, 314.48°)
OKLaboklab(42.28% 0.0902 -0.1158)
OKLCHoklch(42.28% 0.147 307.9)
XYZxyz(10.8990, 6.6584, 24.7509)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64308A #568A30
analogous
#37308A #64308A #8A3083
triadic
#64308A #8A6430 #308A64
tetradic
#64308A #8A3730 #568A30 #30838A
square
#64308A #8A3730 #568A30 #30838A
split-complementary
#64308A #838A30 #308A37
monochromatic
#22102F #43205D #64308A #8540B7 #A269CB

Accessibility & contrast

On white

9.01
#64308A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#64308A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64308A
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64308A#FFFFFF#000000##FFFFFF
##64308A1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478D
Deuteranopia (green-blind)
#204A88
Tritanopia (blue-blind)
#5E4258
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #64308a;
/* rgb */ color: rgb(100, 48, 138);
/* oklch */ color: oklch(42.3% 0.147 307.9);
Tailwind
colors: {
  custom: {
    50: '#936cad',
    500: '#64308a',
    950: '#000000',
  },
}
SCSS
$custom: #64308a;
$custom-light: #936cad;
$custom-dark: #000000;
JSON
{
  "hex": "#64308a",
  "rgb": {
    "r": 100,
    "g": 48,
    "b": 138
  },
  "hsl": {
    "h": 274.667,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.42275,
    "c": 0.14682,
    "h": 307.9
  },
  "luminance": 0.06658
}

Semantic roles & 50–950 ramp

primary
#64308A
secondary
#85B264
accent
#D85089
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #64308A

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

Preview Lab → · Contrast checker → · Palette generator →

#64308A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva