#653273#653273

#653273 is a dark, moderate purple. Relative luminance 0.063; OKLCH L 41.2% C 0.118 H 318.6°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#653273
RGBrgb(101, 50, 115)
HSLhsl(287, 39%, 32%)
HSVhsv(287, 57%, 45%)
CMYKcmyk(12.2%, 56.5%, 0%, 54.9%)
CIE-LABlab(30.12, 34.06, -28.01)
CIE-LCHlch(30.12, 44.10, 320.56°)
OKLaboklab(41.19% 0.0883 -0.0779)
OKLCHoklch(41.19% 0.118 318.6)
XYZxyz(9.6015, 6.2861, 16.9239)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#653273 #407332
analogous
#453273 #653273 #733261
triadic
#653273 #736532 #327365
tetradic
#653273 #734532 #407332 #326173
square
#653273 #734532 #407332 #326173
split-complementary
#653273 #617332 #327345
monochromatic
#1A0D1E #401F48 #653273 #8A459E #A964BC

Accessibility & contrast

On white

9.30
#653273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#653273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #653273
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##653273#FFFFFF#000000##FFFFFF
##6532731.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254475
Deuteranopia (green-blind)
#354971
Tritanopia (blue-blind)
#653C4D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #653273;
/* rgb */ color: rgb(101, 50, 115);
/* oklch */ color: oklch(41.2% 0.118 318.6);
Tailwind
colors: {
  custom: {
    50: '#936c9b',
    500: '#653273',
    950: '#000000',
  },
}
SCSS
$custom: #653273;
$custom-light: #936c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#653273",
  "rgb": {
    "r": 101,
    "g": 50,
    "b": 115
  },
  "hsl": {
    "h": 287.077,
    "s": 39.394,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41192,
    "c": 0.11777,
    "h": 318.6
  },
  "luminance": 0.06286
}

Semantic roles & 50–950 ramp

primary
#653273
secondary
#6DA35D
accent
#CF5972
background
#F9F6F9
surface
#F1EBF2
border
#CBC6CC
text
#0D070E
muted
#7E7A7E

Preview Lab

Preview with #653273

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

Preview Lab → · Contrast checker → · Palette generator →

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