#65227A#65227A

#65227A is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.5% C 0.150 H 317.0°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#65227A
RGBrgb(101, 34, 122)
HSLhsl(286, 56%, 31%)
HSVhsv(286, 72%, 48%)
CMYKcmyk(17.2%, 72.1%, 0%, 52.2%)
CIE-LABlab(27.62, 43.64, -36.44)
CIE-LCHlch(27.62, 56.85, 320.14°)
OKLaboklab(39.51% 0.1096 -0.1023)
OKLCHoklch(39.51% 0.15 317)
XYZxyz(9.4512, 5.3163, 18.9369)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#65227A #377A22
analogous
#39227A #65227A #7A2263
triadic
#65227A #7A6522 #227A65
tetradic
#65227A #7A3922 #377A22 #22637A
square
#65227A #7A3922 #377A22 #22637A
split-complementary
#65227A #637A22 #227A39
monochromatic
#16071A #3D154A #65227A #8D2FAA #AD4ACD

Accessibility & contrast

On white

10.18
#65227A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#65227A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #65227A
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##65227A#FFFFFF#000000##FFFFFF
##65227A1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7D
Deuteranopia (green-blind)
#234378
Tritanopia (blue-blind)
#64334B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #65227a;
/* rgb */ color: rgb(101, 34, 122);
/* oklch */ color: oklch(39.5% 0.150 317.0);
Tailwind
colors: {
  custom: {
    50: '#9463a1',
    500: '#65227a',
    950: '#000000',
  },
}
SCSS
$custom: #65227a;
$custom-light: #9463a1;
$custom-dark: #000000;
JSON
{
  "hex": "#65227a",
  "rgb": {
    "r": 101,
    "g": 34,
    "b": 122
  },
  "hsl": {
    "h": 285.682,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39513,
    "c": 0.14994,
    "h": 317
  },
  "luminance": 0.05316
}

Semantic roles & 50–950 ramp

primary
#65227A
secondary
#62AD4B
accent
#E0486C
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D060F
muted
#7E7A7E

Preview Lab

Preview with #65227A

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

Preview Lab → · Contrast checker → · Palette generator →

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