#64309B#64309B

#64309B is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.5% C 0.166 H 302.2°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#64309B
RGBrgb(100, 48, 155)
HSLhsl(269, 53%, 40%)
HSVhsv(269, 69%, 61%)
CMYKcmyk(35.5%, 69%, 0%, 39.2%)
CIE-LABlab(32.24, 44.50, -49.46)
CIE-LCHlch(32.24, 66.53, 311.98°)
OKLaboklab(43.54% 0.0885 -0.1407)
OKLCHoklch(43.54% 0.166 302.2)
XYZxyz(12.2275, 7.1898, 31.7476)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64309B #679B30
analogous
#30329B #64309B #9A309B
triadic
#64309B #9B6430 #309B64
tetradic
#64309B #9B3032 #679B30 #309B9A
square
#64309B #9B3032 #679B30 #309B9A
split-complementary
#64309B #9B9A30 #329B30
monochromatic
#28133E #46226C #64309B #8243C5 #A172D3

Accessibility & contrast

On white

8.61
#64309B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#64309B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64309B
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64309B#FFFFFF#000000##FFFFFF
##64309B1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9E
Deuteranopia (green-blind)
#004B99
Tritanopia (blue-blind)
#594961
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #64309b;
/* rgb */ color: rgb(100, 48, 155);
/* oklch */ color: oklch(43.5% 0.166 302.2);
Tailwind
colors: {
  custom: {
    50: '#956cb9',
    500: '#64309b',
    950: '#000000',
  },
}
SCSS
$custom: #64309b;
$custom-light: #956cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#64309b",
  "rgb": {
    "r": 100,
    "g": 48,
    "b": 155
  },
  "hsl": {
    "h": 269.159,
    "s": 52.709,
    "l": 39.804
  },
  "oklch": {
    "l": 0.43538,
    "c": 0.16625,
    "h": 302.2
  },
  "luminance": 0.0719
}

Semantic roles & 50–950 ramp

primary
#64309B
secondary
#95BB6C
accent
#DC4C96
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #64309B

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

Preview Lab → · Contrast checker → · Palette generator →

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