#652296#652296

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

Color values

HEX#652296
RGBrgb(101, 34, 150)
HSLhsl(275, 63%, 36%)
HSVhsv(275, 77%, 59%)
CMYKcmyk(32.7%, 77.3%, 0%, 41.2%)
CIE-LABlab(29.70, 49.92, -50.52)
CIE-LCHlch(29.70, 71.03, 314.66°)
OKLaboklab(41.64% 0.1052 -0.1437)
OKLCHoklch(41.64% 0.178 306.2)
XYZxyz(11.4427, 6.1129, 29.4253)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652296 #539622
analogous
#2B2296 #652296 #96228D
triadic
#652296 #966522 #229665
tetradic
#652296 #962B22 #539622 #228D96
square
#652296 #962B22 #539622 #228D96
split-complementary
#652296 #8D9622 #22962B
monochromatic
#220B32 #431764 #652296 #872DC8 #A359D9

Accessibility & contrast

On white

9.45
#652296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #652296
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652296#FFFFFF#000000##FFFFFF
##6522961.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004499
Deuteranopia (green-blind)
#004694
Tritanopia (blue-blind)
#5C3F5B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #652296;
/* rgb */ color: rgb(101, 34, 150);
/* oklch */ color: oklch(41.6% 0.178 306.2);
Tailwind
colors: {
  custom: {
    50: '#9665b6',
    500: '#652296',
    950: '#000000',
  },
}
SCSS
$custom: #652296;
$custom-light: #9665b6;
$custom-dark: #000000;
JSON
{
  "hex": "#652296",
  "rgb": {
    "r": 101,
    "g": 34,
    "b": 150
  },
  "hsl": {
    "h": 274.655,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.41644,
    "c": 0.17809,
    "h": 306.2
  },
  "luminance": 0.06113
}

Semantic roles & 50–950 ramp

primary
#652296
secondary
#82BE56
accent
#E64287
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #652296

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

Preview Lab → · Contrast checker → · Palette generator →

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