#65228E#65228E

#65228E is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.0% C 0.170 H 308.9°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#65228E
RGBrgb(101, 34, 142)
HSLhsl(277, 61%, 35%)
HSVhsv(277, 76%, 56%)
CMYKcmyk(28.9%, 76.1%, 0%, 44.3%)
CIE-LABlab(29.07, 48.08, -46.61)
CIE-LCHlch(29.07, 66.96, 315.88°)
OKLaboklab(41% 0.1069 -0.1322)
OKLCHoklch(41% 0.17 308.9)
XYZxyz(10.8203, 5.8639, 26.1478)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#65228E #4B8E22
analogous
#2F228E #65228E #8E2281
triadic
#65228E #8E6522 #228E65
tetradic
#65228E #8E2F22 #4B8E22 #22818E
square
#65228E #8E2F22 #4B8E22 #22818E
split-complementary
#65228E #818E22 #228E2F
monochromatic
#1F0A2B #42165D #65228E #882EBF #A554D6

Accessibility & contrast

On white

9.66
#65228E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#65228E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #65228E
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##65228E#FFFFFF#000000##FFFFFF
##65228E1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004291
Deuteranopia (green-blind)
#00458C
Tritanopia (blue-blind)
#5F3C56
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #65228e;
/* rgb */ color: rgb(101, 34, 142);
/* oklch */ color: oklch(41.0% 0.170 308.9);
Tailwind
colors: {
  custom: {
    50: '#9564b0',
    500: '#65228e',
    950: '#000000',
  },
}
SCSS
$custom: #65228e;
$custom-light: #9564b0;
$custom-dark: #000000;
JSON
{
  "hex": "#65228e",
  "rgb": {
    "r": 101,
    "g": 34,
    "b": 142
  },
  "hsl": {
    "h": 277.222,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.41003,
    "c": 0.17,
    "h": 308.9
  },
  "luminance": 0.05864
}

Semantic roles & 50–950 ramp

primary
#65228E
secondary
#79BA52
accent
#E44381
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #65228E

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

Preview Lab → · Contrast checker → · Palette generator →

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