#64238A#64238A

#64238A is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.7% C 0.164 H 309.7°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#64238A
RGBrgb(100, 35, 138)
HSLhsl(278, 60%, 34%)
HSVhsv(278, 75%, 54%)
CMYKcmyk(27.5%, 74.6%, 0%, 45.9%)
CIE-LABlab(28.76, 46.53, -44.63)
CIE-LCHlch(28.76, 64.47, 316.19°)
OKLaboklab(40.66% 0.1052 -0.1264)
OKLCHoklch(40.66% 0.164 309.7)
XYZxyz(10.4431, 5.7466, 24.5989)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64238A #498A23
analogous
#31238A #64238A #8A237D
triadic
#64238A #8A6423 #238A64
tetradic
#64238A #8A3123 #498A23 #237D8A
square
#64238A #8A3123 #498A23 #237D8A
split-complementary
#64238A #7D8A23 #238A31
monochromatic
#1D0A28 #411759 #64238A #872FBB #A454D4

Accessibility & contrast

On white

9.77
#64238A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#64238A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64238A
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64238A#FFFFFF#000000##FFFFFF
##64238A1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418D
Deuteranopia (green-blind)
#0B4588
Tritanopia (blue-blind)
#5F3B54
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #64238a;
/* rgb */ color: rgb(100, 35, 138);
/* oklch */ color: oklch(40.7% 0.164 309.7);
Tailwind
colors: {
  custom: {
    50: '#9465ad',
    500: '#64238a',
    950: '#000000',
  },
}
SCSS
$custom: #64238a;
$custom-light: #9465ad;
$custom-dark: #000000;
JSON
{
  "hex": "#64238a",
  "rgb": {
    "r": 100,
    "g": 35,
    "b": 138
  },
  "hsl": {
    "h": 277.864,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.40662,
    "c": 0.16446,
    "h": 309.7
  },
  "luminance": 0.05746
}

Semantic roles & 50–950 ramp

primary
#64238A
secondary
#77B751
accent
#E3457F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #64238A

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

Preview Lab → · Contrast checker → · Palette generator →

#64238A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva