#65218C#65218C

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

Color values

HEX#65218C
RGBrgb(101, 33, 140)
HSLhsl(278, 62%, 34%)
HSVhsv(278, 76%, 55%)
CMYKcmyk(27.9%, 76.4%, 0%, 45.1%)
CIE-LABlab(28.77, 48.04, -45.86)
CIE-LCHlch(28.77, 66.41, 316.33°)
OKLaboklab(40.74% 0.1082 -0.13)
OKLCHoklch(40.74% 0.169 309.8)
XYZxyz(10.6434, 5.7481, 25.3547)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#65218C #488C21
analogous
#30218C #65218C #8C217E
triadic
#65218C #8C6521 #218C65
tetradic
#65218C #8C3021 #488C21 #217E8C
square
#65218C #8C3021 #488C21 #217E8C
split-complementary
#65218C #7E8C21 #218C30
monochromatic
#1E0A29 #41155A #65218C #892DBE #A651D6

Accessibility & contrast

On white

9.77
#65218C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#65218C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #65218C
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##65218C#FFFFFF#000000##FFFFFF
##65218C1.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)
#00418F
Deuteranopia (green-blind)
#04458A
Tritanopia (blue-blind)
#5F3A55
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #65218c;
/* rgb */ color: rgb(101, 33, 140);
/* oklch */ color: oklch(40.7% 0.169 309.8);
Tailwind
colors: {
  custom: {
    50: '#9564ae',
    500: '#65218c',
    950: '#000000',
  },
}
SCSS
$custom: #65218c;
$custom-light: #9564ae;
$custom-dark: #000000;
JSON
{
  "hex": "#65218c",
  "rgb": {
    "r": 101,
    "g": 33,
    "b": 140
  },
  "hsl": {
    "h": 278.131,
    "s": 61.85,
    "l": 33.922
  },
  "oklch": {
    "l": 0.40744,
    "c": 0.16914,
    "h": 309.8
  },
  "luminance": 0.05748
}

Semantic roles & 50–950 ramp

primary
#65218C
secondary
#76B94F
accent
#E5437E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #65218C

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

Preview Lab → · Contrast checker → · Palette generator →

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