#652297#652297

#652297 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.7% C 0.179 H 305.9°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#652297
RGBrgb(101, 34, 151)
HSLhsl(274, 63%, 36%)
HSVhsv(274, 77%, 59%)
CMYKcmyk(33.1%, 77.5%, 0%, 40.8%)
CIE-LABlab(29.78, 50.16, -51.00)
CIE-LCHlch(29.78, 71.53, 314.52°)
OKLaboklab(41.73% 0.105 -0.1451)
OKLCHoklch(41.73% 0.179 305.9)
XYZxyz(11.5235, 6.1452, 29.8512)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652297 #549722
analogous
#2B2297 #652297 #97228F
triadic
#652297 #976522 #229765
tetradic
#652297 #972B22 #549722 #228F97
square
#652297 #972B22 #549722 #228F97
split-complementary
#652297 #8F9722 #22972B
monochromatic
#220C33 #441765 #652297 #862DC9 #A35ADA

Accessibility & contrast

On white

9.42
#652297 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#652297 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652297
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652297#FFFFFF#000000##FFFFFF
##6522971.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449A
Deuteranopia (green-blind)
#004695
Tritanopia (blue-blind)
#5C3F5B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #652297;
/* rgb */ color: rgb(101, 34, 151);
/* oklch */ color: oklch(41.7% 0.179 305.9);
Tailwind
colors: {
  custom: {
    50: '#9665b6',
    500: '#652297',
    950: '#000000',
  },
}
SCSS
$custom: #652297;
$custom-light: #9665b6;
$custom-dark: #000000;
JSON
{
  "hex": "#652297",
  "rgb": {
    "r": 101,
    "g": 34,
    "b": 151
  },
  "hsl": {
    "h": 274.359,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.41725,
    "c": 0.17911,
    "h": 305.9
  },
  "luminance": 0.06145
}

Semantic roles & 50–950 ramp

primary
#652297
secondary
#83BE57
accent
#E64288
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #652297

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

Preview Lab → · Contrast checker → · Palette generator →

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