#64308F#64308F

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

Color values

HEX#64308F
RGBrgb(100, 48, 143)
HSLhsl(273, 50%, 37%)
HSVhsv(273, 66%, 56%)
CMYKcmyk(30.1%, 66.4%, 0%, 43.9%)
CIE-LABlab(31.36, 41.49, -43.53)
CIE-LCHlch(31.36, 60.13, 313.63°)
OKLaboklab(42.64% 0.0899 -0.1233)
OKLCHoklch(42.64% 0.153 306.1)
XYZxyz(11.2693, 6.8065, 26.7014)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64308F #5B8F30
analogous
#35308F #64308F #8F308B
triadic
#64308F #8F6430 #308F64
tetradic
#64308F #8F3530 #5B8F30 #308B8F
square
#64308F #8F3530 #5B8F30 #308B8F
split-complementary
#64308F #8B8F30 #308F35
monochromatic
#241133 #442161 #64308F #843FBD #A16CCE

Accessibility & contrast

On white

8.89
#64308F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #64308F
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64308F#FFFFFF#000000##FFFFFF
##64308F1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#194A8D
Tritanopia (blue-blind)
#5D445B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #64308f;
/* rgb */ color: rgb(100, 48, 143);
/* oklch */ color: oklch(42.6% 0.153 306.1);
Tailwind
colors: {
  custom: {
    50: '#946cb0',
    500: '#64308f',
    950: '#000000',
  },
}
SCSS
$custom: #64308f;
$custom-light: #946cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#64308f",
  "rgb": {
    "r": 100,
    "g": 48,
    "b": 143
  },
  "hsl": {
    "h": 272.842,
    "s": 49.738,
    "l": 37.451
  },
  "oklch": {
    "l": 0.42635,
    "c": 0.15255,
    "h": 306.1
  },
  "luminance": 0.06806
}

Semantic roles & 50–950 ramp

primary
#64308F
secondary
#8AB566
accent
#D94F8D
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0D0711
muted
#7E7A80

Preview Lab

Preview with #64308F

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

Preview Lab → · Contrast checker → · Palette generator →

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