#64338F#64338F

#64338F is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.1% C 0.148 H 305.6°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#64338F
RGBrgb(100, 51, 143)
HSLhsl(272, 47%, 38%)
HSVhsv(272, 64%, 56%)
CMYKcmyk(30.1%, 64.3%, 0%, 43.9%)
CIE-LABlab(31.94, 39.90, -42.59)
CIE-LCHlch(31.94, 58.36, 313.13°)
OKLaboklab(43.06% 0.0861 -0.1205)
OKLCHoklch(43.06% 0.148 305.6)
XYZxyz(11.3962, 7.0602, 26.7437)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64338F #5E8F33
analogous
#36338F #64338F #8F338C
triadic
#64338F #8F6433 #338F64
tetradic
#64338F #8F3633 #5E8F33 #338C8F
square
#64338F #8F3633 #5E8F33 #338C8F
split-complementary
#64338F #8C8F33 #338F36
monochromatic
#251335 #442362 #64338F #8443BC #A170CC

Accessibility & contrast

On white

8.71
#64338F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#64338F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64338F
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64338F#FFFFFF#000000##FFFFFF
##64338F1.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)
#004A92
Deuteranopia (green-blind)
#1E4B8D
Tritanopia (blue-blind)
#5D465C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #64338f;
/* rgb */ color: rgb(100, 51, 143);
/* oklch */ color: oklch(43.1% 0.148 305.6);
Tailwind
colors: {
  custom: {
    50: '#946eb0',
    500: '#64338f',
    950: '#000000',
  },
}
SCSS
$custom: #64338f;
$custom-light: #946eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#64338f",
  "rgb": {
    "r": 100,
    "g": 51,
    "b": 143
  },
  "hsl": {
    "h": 271.957,
    "s": 47.423,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43055,
    "c": 0.14816,
    "h": 305.6
  },
  "luminance": 0.0706
}

Semantic roles & 50–950 ramp

primary
#64338F
secondary
#8CB46A
accent
#D75190
background
#F9F6FA
surface
#F2ECF5
border
#CCC7CF
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #64338F

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

Preview Lab → · Contrast checker → · Palette generator →

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