#65228C#65228C

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

Color values

HEX#65228C
RGBrgb(101, 34, 140)
HSLhsl(278, 61%, 34%)
HSVhsv(278, 76%, 55%)
CMYKcmyk(27.9%, 75.7%, 0%, 45.1%)
CIE-LABlab(28.91, 47.62, -45.62)
CIE-LCHlch(28.91, 65.95, 316.23°)
OKLaboklab(40.85% 0.1072 -0.1293)
OKLCHoklch(40.85% 0.168 309.7)
XYZxyz(10.6715, 5.8044, 25.3641)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#65228C #498C22
analogous
#30228C #65228C #8C227E
triadic
#65228C #8C6522 #228C65
tetradic
#65228C #8C3022 #498C22 #227E8C
square
#65228C #8C3022 #498C22 #227E8C
split-complementary
#65228C #7E8C22 #228C30
monochromatic
#1E0A2A #41165B #65228C #892EBD #A553D5

Accessibility & contrast

On white

9.72
#65228C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #65228C
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##65228C#FFFFFF#000000##FFFFFF
##65228C1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418F
Deuteranopia (green-blind)
#06458A
Tritanopia (blue-blind)
#5F3B55
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #65228c;
/* rgb */ color: rgb(101, 34, 140);
/* oklch */ color: oklch(40.8% 0.168 309.7);
Tailwind
colors: {
  custom: {
    50: '#9564ae',
    500: '#65228c',
    950: '#000000',
  },
}
SCSS
$custom: #65228c;
$custom-light: #9564ae;
$custom-dark: #000000;
JSON
{
  "hex": "#65228c",
  "rgb": {
    "r": 101,
    "g": 34,
    "b": 140
  },
  "hsl": {
    "h": 277.925,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.40847,
    "c": 0.16799,
    "h": 309.7
  },
  "luminance": 0.05804
}

Semantic roles & 50–950 ramp

primary
#65228C
secondary
#77B951
accent
#E4447F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #65228C

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

Preview Lab → · Contrast checker → · Palette generator →

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