#653174#653174

#653174 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.1% C 0.121 H 318.2°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#653174
RGBrgb(101, 49, 116)
HSLhsl(287, 41%, 32%)
HSVhsv(287, 58%, 45%)
CMYKcmyk(12.9%, 57.8%, 0%, 54.5%)
CIE-LABlab(29.97, 34.83, -28.88)
CIE-LCHlch(29.97, 45.25, 320.34°)
OKLaboklab(41.1% 0.0899 -0.0804)
OKLCHoklch(41.1% 0.121 318.2)
XYZxyz(9.6171, 6.2246, 17.2145)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#653174 #407431
analogous
#433174 #653174 #743162
triadic
#653174 #746531 #317465
tetradic
#653174 #744331 #407431 #316274
square
#653174 #744331 #407431 #316274
split-complementary
#653174 #627431 #317443
monochromatic
#1A0D1E #401F49 #653174 #8A439F #A963BD

Accessibility & contrast

On white

9.35
#653174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#653174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #653174
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##653174#FFFFFF#000000##FFFFFF
##6531741.009.352.249.35
#FFFFFF9.351.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224376
Deuteranopia (green-blind)
#344872
Tritanopia (blue-blind)
#653B4D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #653174;
/* rgb */ color: rgb(101, 49, 116);
/* oklch */ color: oklch(41.1% 0.121 318.2);
Tailwind
colors: {
  custom: {
    50: '#936c9c',
    500: '#653174',
    950: '#000000',
  },
}
SCSS
$custom: #653174;
$custom-light: #936c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#653174",
  "rgb": {
    "r": 101,
    "g": 49,
    "b": 116
  },
  "hsl": {
    "h": 286.567,
    "s": 40.606,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41099,
    "c": 0.12061,
    "h": 318.2
  },
  "luminance": 0.06224
}

Semantic roles & 50–950 ramp

primary
#653174
secondary
#6DA45C
accent
#D05772
background
#F9F6F9
surface
#F1EBF2
border
#CBC6CC
text
#0D070E
muted
#7E7A7E

Preview Lab

Preview with #653174

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

Preview Lab → · Contrast checker → · Palette generator →

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