#64307F#64307F

#64307F is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.5% C 0.134 H 312.4°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#64307F
RGBrgb(100, 48, 127)
HSLhsl(279, 45%, 34%)
HSVhsv(279, 62%, 50%)
CMYKcmyk(21.3%, 62.2%, 0%, 50.2%)
CIE-LABlab(30.29, 37.62, -35.31)
CIE-LCHlch(30.29, 51.60, 316.82°)
OKLaboklab(41.52% 0.0905 -0.0992)
OKLCHoklch(41.52% 0.134 312.4)
XYZxyz(10.1426, 6.3558, 20.7671)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64307F #4B7F30
analogous
#3D307F #64307F #7F3073
triadic
#64307F #7F6430 #307F64
tetradic
#64307F #7F3D30 #4B7F30 #30737F
square
#64307F #7F3D30 #4B7F30 #30737F
split-complementary
#64307F #737F30 #307F3D
monochromatic
#1E0E26 #411F53 #64307F #8741AB #A465C5

Accessibility & contrast

On white

9.25
#64307F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#64307F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64307F
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64307F#FFFFFF#000000##FFFFFF
##64307F1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144581
Deuteranopia (green-blind)
#2B487D
Tritanopia (blue-blind)
#613E53
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #64307f;
/* rgb */ color: rgb(100, 48, 127);
/* oklch */ color: oklch(41.5% 0.134 312.4);
Tailwind
colors: {
  custom: {
    50: '#936ba4',
    500: '#64307f',
    950: '#000000',
  },
}
SCSS
$custom: #64307f;
$custom-light: #936ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#64307f",
  "rgb": {
    "r": 100,
    "g": 48,
    "b": 127
  },
  "hsl": {
    "h": 279.494,
    "s": 45.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41518,
    "c": 0.13424,
    "h": 312.4
  },
  "luminance": 0.06356
}

Semantic roles & 50–950 ramp

primary
#64307F
secondary
#79AC5F
accent
#D5537F
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D070F
muted
#7E7A7F

Preview Lab

Preview with #64307F

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

Preview Lab → · Contrast checker → · Palette generator →

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