#64348C#64348C

#64348C is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.0% C 0.143 H 306.4°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#64348C
RGBrgb(100, 52, 140)
HSLhsl(273, 46%, 38%)
HSVhsv(273, 63%, 55%)
CMYKcmyk(28.6%, 62.9%, 0%, 45.1%)
CIE-LABlab(31.94, 38.61, -40.75)
CIE-LCHlch(31.94, 56.13, 313.45°)
OKLaboklab(42.99% 0.085 -0.1151)
OKLCHoklch(42.99% 0.143 306.4)
XYZxyz(11.2161, 7.0589, 25.5775)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64348C #5C8C34
analogous
#38348C #64348C #8C3488
triadic
#64348C #8C6434 #348C64
tetradic
#64348C #8C3834 #5C8C34 #34888C
square
#64348C #8C3834 #5C8C34 #34888C
split-complementary
#64348C #888C34 #348C38
monochromatic
#241333 #44235F #64348C #8445B9 #A170CA

Accessibility & contrast

On white

8.71
#64348C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#64348C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64348C
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64348C#FFFFFF#000000##FFFFFF
##64348C1.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064A8F
Deuteranopia (green-blind)
#234B8A
Tritanopia (blue-blind)
#5D465B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #64348c;
/* rgb */ color: rgb(100, 52, 140);
/* oklch */ color: oklch(43.0% 0.143 306.4);
Tailwind
colors: {
  custom: {
    50: '#936eae',
    500: '#64348c',
    950: '#000000',
  },
}
SCSS
$custom: #64348c;
$custom-light: #936eae;
$custom-dark: #000000;
JSON
{
  "hex": "#64348c",
  "rgb": {
    "r": 100,
    "g": 52,
    "b": 140
  },
  "hsl": {
    "h": 272.727,
    "s": 45.833,
    "l": 37.647
  },
  "oklch": {
    "l": 0.42988,
    "c": 0.14312,
    "h": 306.4
  },
  "luminance": 0.07059
}

Semantic roles & 50–950 ramp

primary
#64348C
secondary
#8BB26A
accent
#D5528E
background
#F9F6FA
surface
#F2ECF4
border
#CCC7CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #64348C

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

Preview Lab → · Contrast checker → · Palette generator →

#64348C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva