#64308E#64308E

#64308E is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.6% C 0.151 H 306.4°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#64308E
RGBrgb(100, 48, 142)
HSLhsl(273, 49%, 37%)
HSVhsv(273, 66%, 56%)
CMYKcmyk(29.6%, 66.2%, 0%, 44.3%)
CIE-LABlab(31.29, 41.24, -43.02)
CIE-LCHlch(31.29, 59.60, 313.79°)
OKLaboklab(42.56% 0.0899 -0.1218)
OKLCHoklch(42.56% 0.151 306.4)
XYZxyz(11.1939, 6.7763, 26.3042)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64308E #5A8E30
analogous
#35308E #64308E #8E3089
triadic
#64308E #8E6430 #308E64
tetradic
#64308E #8E3530 #5A8E30 #30898E
square
#64308E #8E3530 #5A8E30 #30898E
split-complementary
#64308E #898E30 #308E35
monochromatic
#241133 #442160 #64308E #843FBC #A16BCD

Accessibility & contrast

On white

8.92
#64308E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#64308E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64308E
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64308E#FFFFFF#000000##FFFFFF
##64308E1.008.922.368.92
#FFFFFF8.921.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004891
Deuteranopia (green-blind)
#1A4A8C
Tritanopia (blue-blind)
#5D445A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #64308e;
/* rgb */ color: rgb(100, 48, 142);
/* oklch */ color: oklch(42.6% 0.151 306.4);
Tailwind
colors: {
  custom: {
    50: '#946cb0',
    500: '#64308e',
    950: '#000000',
  },
}
SCSS
$custom: #64308e;
$custom-light: #946cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#64308e",
  "rgb": {
    "r": 100,
    "g": 48,
    "b": 142
  },
  "hsl": {
    "h": 273.191,
    "s": 49.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.42562,
    "c": 0.1514,
    "h": 306.4
  },
  "luminance": 0.06776
}

Semantic roles & 50–950 ramp

primary
#64308E
secondary
#89B465
accent
#D94F8D
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #64308E

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

Preview Lab → · Contrast checker → · Palette generator →

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