#65227F#65227F

#65227F is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.9% C 0.155 H 314.8°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#65227F
RGBrgb(101, 34, 127)
HSLhsl(283, 58%, 32%)
HSVhsv(283, 73%, 50%)
CMYKcmyk(20.5%, 73.2%, 0%, 50.2%)
CIE-LABlab(27.96, 44.72, -39.04)
CIE-LCHlch(27.96, 59.36, 318.88°)
OKLaboklab(39.87% 0.1091 -0.11)
OKLCHoklch(39.87% 0.155 314.8)
XYZxyz(9.7690, 5.4434, 20.6106)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#65227F #3C7F22
analogous
#37227F #65227F #7F226B
triadic
#65227F #7F6522 #227F65
tetradic
#65227F #7F3722 #3C7F22 #226B7F
square
#65227F #7F3722 #3C7F22 #226B7F
split-complementary
#65227F #6B7F22 #227F37
monochromatic
#18081E #3F154F #65227F #8B2FAF #AB4CCF

Accessibility & contrast

On white

10.05
#65227F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#65227F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #65227F
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##65227F#FFFFFF#000000##FFFFFF
##65227F1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #65227f;
/* rgb */ color: rgb(101, 34, 127);
/* oklch */ color: oklch(39.9% 0.155 314.8);
Tailwind
colors: {
  custom: {
    50: '#9464a5',
    500: '#65227f',
    950: '#000000',
  },
}
SCSS
$custom: #65227f;
$custom-light: #9464a5;
$custom-dark: #000000;
JSON
{
  "hex": "#65227f",
  "rgb": {
    "r": 101,
    "g": 34,
    "b": 127
  },
  "hsl": {
    "h": 283.226,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.3987,
    "c": 0.15491,
    "h": 314.8
  },
  "luminance": 0.05443
}

Semantic roles & 50–950 ramp

primary
#65227F
secondary
#68B24B
accent
#E14772
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #65227F

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

Preview Lab → · Contrast checker → · Palette generator →

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