#64309D#64309D

#64309D is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.7% C 0.169 H 301.6°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#64309D
RGBrgb(100, 48, 157)
HSLhsl(269, 53%, 40%)
HSVhsv(269, 69%, 62%)
CMYKcmyk(36.3%, 69.4%, 0%, 38.4%)
CIE-LABlab(32.39, 45.01, -50.43)
CIE-LCHlch(32.39, 67.59, 311.75°)
OKLaboklab(43.69% 0.0883 -0.1436)
OKLCHoklch(43.69% 0.169 301.6)
XYZxyz(12.3968, 7.2575, 32.6395)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64309D #699D30
analogous
#30329D #64309D #9B309D
triadic
#64309D #9D6430 #309D64
tetradic
#64309D #9D3032 #699D30 #309D9B
square
#64309D #9D3032 #699D30 #309D9B
split-complementary
#64309D #9D9B30 #329D30
monochromatic
#28133F #46226E #64309D #8244C6 #A173D4

Accessibility & contrast

On white

8.57
#64309D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#64309D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64309D
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64309D#FFFFFF#000000##FFFFFF
##64309D1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA0
Deuteranopia (green-blind)
#004C9B
Tritanopia (blue-blind)
#584963
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #64309d;
/* rgb */ color: rgb(100, 48, 157);
/* oklch */ color: oklch(43.7% 0.169 301.6);
Tailwind
colors: {
  custom: {
    50: '#956cbb',
    500: '#64309d',
    950: '#000000',
  },
}
SCSS
$custom: #64309d;
$custom-light: #956cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#64309d",
  "rgb": {
    "r": 100,
    "g": 48,
    "b": 157
  },
  "hsl": {
    "h": 268.624,
    "s": 53.171,
    "l": 40.196
  },
  "oklch": {
    "l": 0.43694,
    "c": 0.16852,
    "h": 301.6
  },
  "luminance": 0.07258
}

Semantic roles & 50–950 ramp

primary
#64309D
secondary
#96BC6D
accent
#DD4B97
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #64309D

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

Preview Lab → · Contrast checker → · Palette generator →

#64309D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva