#65227D#65227D

#65227D is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.7% C 0.153 H 315.6°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#65227D
RGBrgb(101, 34, 125)
HSLhsl(284, 57%, 31%)
HSVhsv(284, 73%, 49%)
CMYKcmyk(19.2%, 72.8%, 0%, 51%)
CIE-LABlab(27.82, 44.28, -38.00)
CIE-LCHlch(27.82, 58.35, 319.36°)
OKLaboklab(39.73% 0.1093 -0.1069)
OKLCHoklch(39.73% 0.153 315.6)
XYZxyz(9.6399, 5.3918, 19.9310)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#65227D #3A7D22
analogous
#37227D #65227D #7D2267
triadic
#65227D #7D6522 #227D65
tetradic
#65227D #7D3722 #3A7D22 #22677D
square
#65227D #7D3722 #3A7D22 #22677D
split-complementary
#65227D #677D22 #227D37
monochromatic
#17081D #3E154D #65227D #8C2FAD #AC4BCE

Accessibility & contrast

On white

10.10
#65227D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #65227D
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##65227D#FFFFFF#000000##FFFFFF
##65227D1.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E80
Deuteranopia (green-blind)
#20437B
Tritanopia (blue-blind)
#63344D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #65227d;
/* rgb */ color: rgb(101, 34, 125);
/* oklch */ color: oklch(39.7% 0.153 315.6);
Tailwind
colors: {
  custom: {
    50: '#9464a3',
    500: '#65227d',
    950: '#000000',
  },
}
SCSS
$custom: #65227d;
$custom-light: #9464a3;
$custom-dark: #000000;
JSON
{
  "hex": "#65227d",
  "rgb": {
    "r": 101,
    "g": 34,
    "b": 125
  },
  "hsl": {
    "h": 284.176,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.39726,
    "c": 0.15292,
    "h": 315.6
  },
  "luminance": 0.05391
}

Semantic roles & 50–950 ramp

primary
#65227D
secondary
#66B04B
accent
#E04770
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #65227D

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

Preview Lab → · Contrast checker → · Palette generator →

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