#65218A#65218A

#65218A is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.6% C 0.167 H 310.5°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#65218A
RGBrgb(101, 33, 138)
HSLhsl(279, 61%, 34%)
HSVhsv(279, 76%, 54%)
CMYKcmyk(26.8%, 76.1%, 0%, 45.9%)
CIE-LABlab(28.62, 47.58, -44.86)
CIE-LCHlch(28.62, 65.40, 316.69°)
OKLaboklab(40.59% 0.1086 -0.1271)
OKLCHoklch(40.59% 0.167 310.5)
XYZxyz(10.4972, 5.6896, 24.5851)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#65218A #468A21
analogous
#30218A #65218A #8A217A
triadic
#65218A #8A6521 #218A65
tetradic
#65218A #8A3021 #468A21 #217A8A
square
#65218A #8A3021 #468A21 #217A8A
split-complementary
#65218A #7A8A21 #218A30
monochromatic
#1D0927 #411559 #65218A #892DBB #A650D5

Accessibility & contrast

On white

9.82
#65218A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#65218A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #65218A
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##65218A#FFFFFF#000000##FFFFFF
##65218A1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418D
Deuteranopia (green-blind)
#0A4588
Tritanopia (blue-blind)
#603954
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #65218a;
/* rgb */ color: rgb(101, 33, 138);
/* oklch */ color: oklch(40.6% 0.167 310.5);
Tailwind
colors: {
  custom: {
    50: '#9564ad',
    500: '#65218a',
    950: '#000000',
  },
}
SCSS
$custom: #65218a;
$custom-light: #9564ad;
$custom-dark: #000000;
JSON
{
  "hex": "#65218a",
  "rgb": {
    "r": 101,
    "g": 33,
    "b": 138
  },
  "hsl": {
    "h": 278.857,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.40588,
    "c": 0.16714,
    "h": 310.5
  },
  "luminance": 0.05689
}

Semantic roles & 50–950 ramp

primary
#65218A
secondary
#74B94E
accent
#E5437C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #65218A

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

Preview Lab → · Contrast checker → · Palette generator →

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