#64307E#64307E

#64307E is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.5% C 0.133 H 312.8°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#64307E
RGBrgb(100, 48, 126)
HSLhsl(280, 45%, 34%)
HSVhsv(280, 62%, 49%)
CMYKcmyk(20.6%, 61.9%, 0%, 50.6%)
CIE-LABlab(30.23, 37.39, -34.78)
CIE-LCHlch(30.23, 51.06, 317.06°)
OKLaboklab(41.45% 0.0905 -0.0976)
OKLCHoklch(41.45% 0.133 312.8)
XYZxyz(10.0777, 6.3299, 20.4255)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64307E #4A7E30
analogous
#3D307E #64307E #7E3071
triadic
#64307E #7E6430 #307E64
tetradic
#64307E #7E3D30 #4A7E30 #30717E
square
#64307E #7E3D30 #4A7E30 #30717E
split-complementary
#64307E #717E30 #307E3D
monochromatic
#1E0E25 #411F52 #64307E #8741AA #A464C4

Accessibility & contrast

On white

9.27
#64307E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #64307E
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64307E#FFFFFF#000000##FFFFFF
##64307E1.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164480
Deuteranopia (green-blind)
#2C487C
Tritanopia (blue-blind)
#613E52
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #64307e;
/* rgb */ color: rgb(100, 48, 126);
/* oklch */ color: oklch(41.5% 0.133 312.8);
Tailwind
colors: {
  custom: {
    50: '#936ba4',
    500: '#64307e',
    950: '#000000',
  },
}
SCSS
$custom: #64307e;
$custom-light: #936ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#64307e",
  "rgb": {
    "r": 100,
    "g": 48,
    "b": 126
  },
  "hsl": {
    "h": 280,
    "s": 44.828,
    "l": 34.118
  },
  "oklch": {
    "l": 0.41452,
    "c": 0.1331,
    "h": 312.8
  },
  "luminance": 0.0633
}

Semantic roles & 50–950 ramp

primary
#64307E
secondary
#78AB5F
accent
#D5537E
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D070F
muted
#7E7A7F

Preview Lab

Preview with #64307E

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

Preview Lab → · Contrast checker → · Palette generator →

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