#65227E#65227E

#65227E is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.8% C 0.154 H 315.2°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#65227E
RGBrgb(101, 34, 126)
HSLhsl(284, 58%, 31%)
HSVhsv(284, 73%, 49%)
CMYKcmyk(19.8%, 73%, 0%, 50.6%)
CIE-LABlab(27.89, 44.50, -38.52)
CIE-LCHlch(27.89, 58.86, 319.12°)
OKLaboklab(39.8% 0.1092 -0.1085)
OKLCHoklch(39.8% 0.154 315.2)
XYZxyz(9.7041, 5.4175, 20.2691)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#65227E #3B7E22
analogous
#37227E #65227E #7E2269
triadic
#65227E #7E6522 #227E65
tetradic
#65227E #7E3722 #3B7E22 #22697E
square
#65227E #7E3722 #3B7E22 #22697E
split-complementary
#65227E #697E22 #227E37
monochromatic
#18081E #3E154E #65227E #8C2FAE #AB4CCF

Accessibility & contrast

On white

10.08
#65227E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#65227E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #65227E
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##65227E#FFFFFF#000000##FFFFFF
##65227E1.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E81
Deuteranopia (green-blind)
#1F447C
Tritanopia (blue-blind)
#63354D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #65227e;
/* rgb */ color: rgb(101, 34, 126);
/* oklch */ color: oklch(39.8% 0.154 315.2);
Tailwind
colors: {
  custom: {
    50: '#9464a4',
    500: '#65227e',
    950: '#000000',
  },
}
SCSS
$custom: #65227e;
$custom-light: #9464a4;
$custom-dark: #000000;
JSON
{
  "hex": "#65227e",
  "rgb": {
    "r": 101,
    "g": 34,
    "b": 126
  },
  "hsl": {
    "h": 283.696,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.39798,
    "c": 0.15392,
    "h": 315.2
  },
  "luminance": 0.05417
}

Semantic roles & 50–950 ramp

primary
#65227E
secondary
#67B14B
accent
#E14771
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #65227E

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

Preview Lab → · Contrast checker → · Palette generator →

#65227E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva