#65228B#65228B

#65228B is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.8% C 0.167 H 310.0°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#65228B
RGBrgb(101, 34, 139)
HSLhsl(278, 61%, 34%)
HSVhsv(278, 76%, 55%)
CMYKcmyk(27.3%, 75.5%, 0%, 45.5%)
CIE-LABlab(28.84, 47.39, -45.12)
CIE-LCHlch(28.84, 65.44, 316.40°)
OKLaboklab(40.77% 0.1074 -0.1279)
OKLCHoklch(40.77% 0.167 310)
XYZxyz(10.5981, 5.7751, 24.9775)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#65228B #488B22
analogous
#31228B #65228B #8B227D
triadic
#65228B #8B6522 #228B65
tetradic
#65228B #8B3122 #488B22 #227D8B
square
#65228B #8B3122 #488B22 #227D8B
split-complementary
#65228B #7D8B22 #228B31
monochromatic
#1E0A29 #41165A #65228B #892EBC #A653D5

Accessibility & contrast

On white

9.74
#65228B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#65228B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #65228B
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##65228B#FFFFFF#000000##FFFFFF
##65228B1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418E
Deuteranopia (green-blind)
#094589
Tritanopia (blue-blind)
#603A55
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #65228b;
/* rgb */ color: rgb(101, 34, 139);
/* oklch */ color: oklch(40.8% 0.167 310.0);
Tailwind
colors: {
  custom: {
    50: '#9564ae',
    500: '#65228b',
    950: '#000000',
  },
}
SCSS
$custom: #65228b;
$custom-light: #9564ae;
$custom-dark: #000000;
JSON
{
  "hex": "#65228b",
  "rgb": {
    "r": 101,
    "g": 34,
    "b": 139
  },
  "hsl": {
    "h": 278.286,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.40769,
    "c": 0.16698,
    "h": 310
  },
  "luminance": 0.05775
}

Semantic roles & 50–950 ramp

primary
#65228B
secondary
#76B850
accent
#E4447E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #65228B

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

Preview Lab → · Contrast checker → · Palette generator →

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