#64308B#64308B

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

Color values

HEX#64308B
RGBrgb(100, 48, 139)
HSLhsl(274, 49%, 37%)
HSVhsv(274, 65%, 55%)
CMYKcmyk(28.1%, 65.5%, 0%, 45.5%)
CIE-LABlab(31.08, 40.50, -41.51)
CIE-LCHlch(31.08, 57.99, 314.30°)
OKLaboklab(42.35% 0.0901 -0.1173)
OKLCHoklch(42.35% 0.148 307.5)
XYZxyz(10.9717, 6.6875, 25.1339)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64308B #578B30
analogous
#37308B #64308B #8B3085
triadic
#64308B #8B6430 #308B64
tetradic
#64308B #8B3730 #578B30 #30858B
square
#64308B #8B3730 #578B30 #30858B
split-complementary
#64308B #858B30 #308B37
monochromatic
#231130 #43205E #64308B #8540B8 #A26ACC

Accessibility & contrast

On white

8.98
#64308B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#64308B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64308B
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64308B#FFFFFF#000000##FFFFFF
##64308B1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478E
Deuteranopia (green-blind)
#1F4A89
Tritanopia (blue-blind)
#5E4359
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #64308b;
/* rgb */ color: rgb(100, 48, 139);
/* oklch */ color: oklch(42.3% 0.148 307.5);
Tailwind
colors: {
  custom: {
    50: '#936cad',
    500: '#64308b',
    950: '#000000',
  },
}
SCSS
$custom: #64308b;
$custom-light: #936cad;
$custom-dark: #000000;
JSON
{
  "hex": "#64308b",
  "rgb": {
    "r": 100,
    "g": 48,
    "b": 139
  },
  "hsl": {
    "h": 274.286,
    "s": 48.663,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42346,
    "c": 0.14796,
    "h": 307.5
  },
  "luminance": 0.06687
}

Semantic roles & 50–950 ramp

primary
#64308B
secondary
#86B364
accent
#D8508A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #64308B

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

Preview Lab → · Contrast checker → · Palette generator →

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