#64238B#64238B

#64238B is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.7% C 0.165 H 309.4°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#64238B
RGBrgb(100, 35, 139)
HSLhsl(278, 60%, 34%)
HSVhsv(278, 75%, 55%)
CMYKcmyk(28.1%, 74.8%, 0%, 45.5%)
CIE-LABlab(28.84, 46.76, -45.13)
CIE-LCHlch(28.84, 64.99, 316.02°)
OKLaboklab(40.74% 0.105 -0.1279)
OKLCHoklch(40.74% 0.165 309.4)
XYZxyz(10.5158, 5.7757, 24.9819)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64238B #4A8B23
analogous
#30238B #64238B #8B237E
triadic
#64238B #8B6423 #238B64
tetradic
#64238B #8B3023 #4A8B23 #237E8B
square
#64238B #8B3023 #4A8B23 #237E8B
split-complementary
#64238B #7E8B23 #238B30
monochromatic
#1E0A29 #41175A #64238B #872FBC #A454D4

Accessibility & contrast

On white

9.74
#64238B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#64238B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64238B
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64238B#FFFFFF#000000##FFFFFF
##64238B1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418E
Deuteranopia (green-blind)
#084589
Tritanopia (blue-blind)
#5E3B55
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #64238b;
/* rgb */ color: rgb(100, 35, 139);
/* oklch */ color: oklch(40.7% 0.165 309.4);
Tailwind
colors: {
  custom: {
    50: '#9465ae',
    500: '#64238b',
    950: '#000000',
  },
}
SCSS
$custom: #64238b;
$custom-light: #9465ae;
$custom-dark: #000000;
JSON
{
  "hex": "#64238b",
  "rgb": {
    "r": 100,
    "g": 35,
    "b": 139
  },
  "hsl": {
    "h": 277.5,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.40739,
    "c": 0.16547,
    "h": 309.4
  },
  "luminance": 0.05775
}

Semantic roles & 50–950 ramp

primary
#64238B
secondary
#78B852
accent
#E34580
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #64238B

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

Preview Lab → · Contrast checker → · Palette generator →

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