#653274#653274

#653274 is a dark, moderate purple. Relative luminance 0.063; OKLCH L 41.3% C 0.119 H 318.1°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#653274
RGBrgb(101, 50, 116)
HSLhsl(286, 40%, 33%)
HSVhsv(286, 57%, 45%)
CMYKcmyk(12.9%, 56.9%, 0%, 54.5%)
CIE-LABlab(30.18, 34.28, -28.56)
CIE-LCHlch(30.18, 44.62, 320.21°)
OKLaboklab(41.25% 0.0884 -0.0795)
OKLCHoklch(41.25% 0.119 318.1)
XYZxyz(9.6594, 6.3092, 17.2286)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#653274 #417432
analogous
#443274 #653274 #743262
triadic
#653274 #746532 #327465
tetradic
#653274 #744432 #417432 #326274
square
#653274 #744432 #417432 #326274
split-complementary
#653274 #627432 #327444
monochromatic
#1B0D1E #402049 #653274 #8A449F #A864BC

Accessibility & contrast

On white

9.28
#653274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #653274
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##653274#FFFFFF#000000##FFFFFF
##6532741.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244476
Deuteranopia (green-blind)
#354972
Tritanopia (blue-blind)
#653C4E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #653274;
/* rgb */ color: rgb(101, 50, 116);
/* oklch */ color: oklch(41.3% 0.119 318.1);
Tailwind
colors: {
  custom: {
    50: '#936c9c',
    500: '#653274',
    950: '#000000',
  },
}
SCSS
$custom: #653274;
$custom-light: #936c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#653274",
  "rgb": {
    "r": 101,
    "g": 50,
    "b": 116
  },
  "hsl": {
    "h": 286.364,
    "s": 39.759,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41252,
    "c": 0.11889,
    "h": 318.1
  },
  "luminance": 0.06309
}

Semantic roles & 50–950 ramp

primary
#653274
secondary
#6EA45E
accent
#D05873
background
#F9F6F9
surface
#F1EBF2
border
#CBC6CC
text
#0D070E
muted
#7E7A7E

Preview Lab

Preview with #653274

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

Preview Lab → · Contrast checker → · Palette generator →

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