#65218B#65218B

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

Color values

HEX#65218B
RGBrgb(101, 33, 139)
HSLhsl(278, 62%, 34%)
HSVhsv(278, 76%, 55%)
CMYKcmyk(27.3%, 76.3%, 0%, 45.5%)
CIE-LABlab(28.69, 47.81, -45.36)
CIE-LCHlch(28.69, 65.91, 316.50°)
OKLaboklab(40.67% 0.1084 -0.1285)
OKLCHoklch(40.67% 0.168 310.1)
XYZxyz(10.5700, 5.7187, 24.9681)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#65218B #478B21
analogous
#30218B #65218B #8B217C
triadic
#65218B #8B6521 #218B65
tetradic
#65218B #8B3021 #478B21 #217C8B
square
#65218B #8B3021 #478B21 #217C8B
split-complementary
#65218B #7C8B21 #218B30
monochromatic
#1D0A28 #41155A #65218B #892DBC #A651D6

Accessibility & contrast

On white

9.80
#65218B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #65218B
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##65218B#FFFFFF#000000##FFFFFF
##65218B1.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418E
Deuteranopia (green-blind)
#074589
Tritanopia (blue-blind)
#603A54
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #65218b;
/* rgb */ color: rgb(101, 33, 139);
/* oklch */ color: oklch(40.7% 0.168 310.1);
Tailwind
colors: {
  custom: {
    50: '#9564ae',
    500: '#65218b',
    950: '#000000',
  },
}
SCSS
$custom: #65218b;
$custom-light: #9564ae;
$custom-dark: #000000;
JSON
{
  "hex": "#65218b",
  "rgb": {
    "r": 101,
    "g": 33,
    "b": 139
  },
  "hsl": {
    "h": 278.491,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.40666,
    "c": 0.16814,
    "h": 310.1
  },
  "luminance": 0.05718
}

Semantic roles & 50–950 ramp

primary
#65218B
secondary
#75B94F
accent
#E5437D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #65218B

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

Preview Lab → · Contrast checker → · Palette generator →

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