#652295#652295

#652295 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.6% C 0.177 H 306.5°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#652295
RGBrgb(101, 34, 149)
HSLhsl(275, 63%, 36%)
HSVhsv(275, 77%, 58%)
CMYKcmyk(32.2%, 77.2%, 0%, 41.6%)
CIE-LABlab(29.62, 49.69, -50.04)
CIE-LCHlch(29.62, 70.52, 314.80°)
OKLaboklab(41.56% 0.1054 -0.1423)
OKLCHoklch(41.56% 0.177 306.5)
XYZxyz(11.3625, 6.0808, 29.0031)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652295 #529522
analogous
#2C2295 #652295 #95228B
triadic
#652295 #956522 #229565
tetradic
#652295 #952C22 #529522 #228B95
square
#652295 #952C22 #529522 #228B95
split-complementary
#652295 #8B9522 #22952C
monochromatic
#210B31 #431763 #652295 #872DC7 #A358D9

Accessibility & contrast

On white

9.48
#652295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#652295 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652295
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652295#FFFFFF#000000##FFFFFF
##6522951.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004498
Deuteranopia (green-blind)
#004693
Tritanopia (blue-blind)
#5D3F5A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #652295;
/* rgb */ color: rgb(101, 34, 149);
/* oklch */ color: oklch(41.6% 0.177 306.5);
Tailwind
colors: {
  custom: {
    50: '#9665b5',
    500: '#652295',
    950: '#000000',
  },
}
SCSS
$custom: #652295;
$custom-light: #9665b5;
$custom-dark: #000000;
JSON
{
  "hex": "#652295",
  "rgb": {
    "r": 101,
    "g": 34,
    "b": 149
  },
  "hsl": {
    "h": 274.957,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41562,
    "c": 0.17708,
    "h": 306.5
  },
  "luminance": 0.06081
}

Semantic roles & 50–950 ramp

primary
#652295
secondary
#81BD56
accent
#E64286
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #652295

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

Preview Lab → · Contrast checker → · Palette generator →

#652295 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva