#65228F#65228F

#65228F is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.1% C 0.171 H 308.6°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#65228F
RGBrgb(101, 34, 143)
HSLhsl(277, 62%, 35%)
HSVhsv(277, 76%, 56%)
CMYKcmyk(29.4%, 76.2%, 0%, 43.9%)
CIE-LABlab(29.14, 48.31, -47.11)
CIE-LCHlch(29.14, 67.47, 315.72°)
OKLaboklab(41.08% 0.1067 -0.1337)
OKLCHoklch(41.08% 0.171 308.6)
XYZxyz(10.8958, 5.8941, 26.5450)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#65228F #4C8F22
analogous
#2F228F #65228F #8F2283
triadic
#65228F #8F6522 #228F65
tetradic
#65228F #8F2F22 #4C8F22 #22838F
square
#65228F #8F2F22 #4C8F22 #22838F
split-complementary
#65228F #838F22 #228F2F
monochromatic
#1F0A2C #42165E #65228F #882EC0 #A555D7

Accessibility & contrast

On white

9.64
#65228F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#65228F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #65228F
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##65228F#FFFFFF#000000##FFFFFF
##65228F1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004292
Deuteranopia (green-blind)
#00458D
Tritanopia (blue-blind)
#5E3C57
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #65228f;
/* rgb */ color: rgb(101, 34, 143);
/* oklch */ color: oklch(41.1% 0.171 308.6);
Tailwind
colors: {
  custom: {
    50: '#9564b1',
    500: '#65228f',
    950: '#000000',
  },
}
SCSS
$custom: #65228f;
$custom-light: #9564b1;
$custom-dark: #000000;
JSON
{
  "hex": "#65228f",
  "rgb": {
    "r": 101,
    "g": 34,
    "b": 143
  },
  "hsl": {
    "h": 276.881,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41082,
    "c": 0.17102,
    "h": 308.6
  },
  "luminance": 0.05894
}

Semantic roles & 50–950 ramp

primary
#65228F
secondary
#7ABA52
accent
#E54381
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #65228F

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

Preview Lab → · Contrast checker → · Palette generator →

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