#65227B#65227B

#65227B is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.6% C 0.151 H 316.5°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#65227B
RGBrgb(101, 34, 123)
HSLhsl(285, 57%, 31%)
HSVhsv(285, 72%, 48%)
CMYKcmyk(17.9%, 72.4%, 0%, 51.8%)
CIE-LABlab(27.69, 43.85, -36.96)
CIE-LCHlch(27.69, 57.35, 319.87°)
OKLaboklab(39.58% 0.1095 -0.1039)
OKLCHoklch(39.58% 0.151 316.5)
XYZxyz(9.5135, 5.3412, 19.2649)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#65227B #387B22
analogous
#39227B #65227B #7B2264
triadic
#65227B #7B6522 #227B65
tetradic
#65227B #7B3922 #387B22 #22647B
square
#65227B #7B3922 #387B22 #22647B
split-complementary
#65227B #647B22 #227B39
monochromatic
#16071B #3E154B #65227B #8C2FAB #AD4ACD

Accessibility & contrast

On white

10.15
#65227B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#65227B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #65227B
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##65227B#FFFFFF#000000##FFFFFF
##65227B1.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7E
Deuteranopia (green-blind)
#234379
Tritanopia (blue-blind)
#64344C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #65227b;
/* rgb */ color: rgb(101, 34, 123);
/* oklch */ color: oklch(39.6% 0.151 316.5);
Tailwind
colors: {
  custom: {
    50: '#9463a2',
    500: '#65227b',
    950: '#000000',
  },
}
SCSS
$custom: #65227b;
$custom-light: #9463a2;
$custom-dark: #000000;
JSON
{
  "hex": "#65227b",
  "rgb": {
    "r": 101,
    "g": 34,
    "b": 123
  },
  "hsl": {
    "h": 285.169,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39584,
    "c": 0.15093,
    "h": 316.5
  },
  "luminance": 0.05341
}

Semantic roles & 50–950 ramp

primary
#65227B
secondary
#63AE4B
accent
#E0486D
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0D060F
muted
#7E7A7F

Preview Lab

Preview with #65227B

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

Preview Lab → · Contrast checker → · Palette generator →

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