#652273#652273

#652273 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.0% C 0.143 H 320.2°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#652273
RGBrgb(101, 34, 115)
HSLhsl(290, 54%, 29%)
HSVhsv(290, 70%, 45%)
CMYKcmyk(12.2%, 70.4%, 0%, 54.9%)
CIE-LABlab(27.16, 42.16, -32.73)
CIE-LCHlch(27.16, 53.37, 322.18°)
OKLaboklab(39.03% 0.11 -0.0915)
OKLCHoklch(39.03% 0.143 320.2)
XYZxyz(9.0330, 5.1490, 16.7344)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652273 #307322
analogous
#3D2273 #652273 #732259
triadic
#652273 #736522 #227365
tetradic
#652273 #733D22 #307322 #225973
square
#652273 #733D22 #307322 #225973
split-complementary
#652273 #597322 #22733D
monochromatic
#150718 #3C1444 #652273 #8E30A2 #B247C9

Accessibility & contrast

On white

10.35
#652273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#652273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652273
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652273#FFFFFF#000000##FFFFFF
##6522731.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053C75
Deuteranopia (green-blind)
#294371
Tritanopia (blue-blind)
#663047
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #652273;
/* rgb */ color: rgb(101, 34, 115);
/* oklch */ color: oklch(39.0% 0.143 320.2);
Tailwind
colors: {
  custom: {
    50: '#94639c',
    500: '#652273',
    950: '#000000',
  },
}
SCSS
$custom: #652273;
$custom-light: #94639c;
$custom-dark: #000000;
JSON
{
  "hex": "#652273",
  "rgb": {
    "r": 101,
    "g": 34,
    "b": 115
  },
  "hsl": {
    "h": 289.63,
    "s": 54.362,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39034,
    "c": 0.14304,
    "h": 320.2
  },
  "luminance": 0.05149
}

Semantic roles & 50–950 ramp

primary
#652273
secondary
#5AA64B
accent
#DE4A64
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D060E
muted
#7E7A7E

Preview Lab

Preview with #652273

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

Preview Lab → · Contrast checker → · Palette generator →

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