#65218F#65218F

#65218F is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.0% C 0.172 H 308.7°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#65218F
RGBrgb(101, 33, 143)
HSLhsl(277, 63%, 35%)
HSVhsv(277, 77%, 56%)
CMYKcmyk(29.4%, 76.9%, 0%, 43.9%)
CIE-LABlab(29.00, 48.72, -47.34)
CIE-LCHlch(29.00, 67.93, 315.82°)
OKLaboklab(40.98% 0.1076 -0.1344)
OKLCHoklch(40.98% 0.172 308.7)
XYZxyz(10.8676, 5.8378, 26.5356)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#65218F #4B8F21
analogous
#2E218F #65218F #8F2182
triadic
#65218F #8F6521 #218F65
tetradic
#65218F #8F2E21 #4B8F21 #21828F
square
#65218F #8F2E21 #4B8F21 #21828F
split-complementary
#65218F #828F21 #218F2E
monochromatic
#1F0A2C #42165D #65218F #882CC1 #A553D7

Accessibility & contrast

On white

9.69
#65218F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#65218F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #65218F
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##65218F#FFFFFF#000000##FFFFFF
##65218F1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004292
Deuteranopia (green-blind)
#00458D
Tritanopia (blue-blind)
#5E3C57
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #65218f;
/* rgb */ color: rgb(101, 33, 143);
/* oklch */ color: oklch(41.0% 0.172 308.7);
Tailwind
colors: {
  custom: {
    50: '#9564b1',
    500: '#65218f',
    950: '#000000',
  },
}
SCSS
$custom: #65218f;
$custom-light: #9564b1;
$custom-dark: #000000;
JSON
{
  "hex": "#65218f",
  "rgb": {
    "r": 101,
    "g": 33,
    "b": 143
  },
  "hsl": {
    "h": 277.091,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.4098,
    "c": 0.17215,
    "h": 308.7
  },
  "luminance": 0.05838
}

Semantic roles & 50–950 ramp

primary
#65218F
secondary
#79BB51
accent
#E64281
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #65218F

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

Preview Lab → · Contrast checker → · Palette generator →

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