#65217F#65217F

#65217F is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.8% C 0.156 H 314.9°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#65217F
RGBrgb(101, 33, 127)
HSLhsl(283, 59%, 31%)
HSVhsv(283, 74%, 50%)
CMYKcmyk(20.5%, 74%, 0%, 50.2%)
CIE-LABlab(27.81, 45.15, -39.28)
CIE-LCHlch(27.81, 59.85, 318.97°)
OKLaboklab(39.76% 0.1102 -0.1107)
OKLCHoklch(39.76% 0.156 314.9)
XYZxyz(9.7408, 5.3871, 20.6013)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#65217F #3B7F21
analogous
#36217F #65217F #7F216A
triadic
#65217F #7F6521 #217F65
tetradic
#65217F #7F3621 #3B7F21 #216A7F
square
#65217F #7F3621 #3B7F21 #216A7F
split-complementary
#65217F #6A7F21 #217F36
monochromatic
#18081E #3E144E #65217F #8C2EB0 #AB4AD0

Accessibility & contrast

On white

10.11
#65217F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#65217F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #65217F
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##65217F#FFFFFF#000000##FFFFFF
##65217F1.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E82
Deuteranopia (green-blind)
#1D437D
Tritanopia (blue-blind)
#63354E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #65217f;
/* rgb */ color: rgb(101, 33, 127);
/* oklch */ color: oklch(39.8% 0.156 314.9);
Tailwind
colors: {
  custom: {
    50: '#9463a5',
    500: '#65217f',
    950: '#000000',
  },
}
SCSS
$custom: #65217f;
$custom-light: #9463a5;
$custom-dark: #000000;
JSON
{
  "hex": "#65217f",
  "rgb": {
    "r": 101,
    "g": 33,
    "b": 127
  },
  "hsl": {
    "h": 283.404,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.39761,
    "c": 0.15619,
    "h": 314.9
  },
  "luminance": 0.05387
}

Semantic roles & 50–950 ramp

primary
#65217F
secondary
#67B24A
accent
#E24671
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #65217F

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

Preview Lab → · Contrast checker → · Palette generator →

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