#653398#653398

#653398 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 43.8% C 0.159 H 303.1°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#653398
RGBrgb(101, 51, 152)
HSLhsl(270, 50%, 40%)
HSVhsv(270, 66%, 60%)
CMYKcmyk(33.6%, 66.4%, 0%, 40.4%)
CIE-LABlab(32.70, 42.40, -46.87)
CIE-LCHlch(32.70, 63.20, 312.14°)
OKLaboklab(43.83% 0.0869 -0.1331)
OKLCHoklch(43.83% 0.159 303.1)
XYZxyz(12.2168, 7.4014, 30.4847)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#653398 #669833
analogous
#333398 #653398 #983398
triadic
#653398 #986533 #339865
tetradic
#653398 #983333 #669833 #339898
square
#653398 #983333 #669833 #339898
split-complementary
#653398 #989833 #339833
monochromatic
#28143C #47246A #653398 #8347C1 #A275D1

Accessibility & contrast

On white

8.47
#653398 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#653398 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #653398
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##653398#FFFFFF#000000##FFFFFF
##6533981.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9B
Deuteranopia (green-blind)
#0F4D96
Tritanopia (blue-blind)
#5B4961
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #653398;
/* rgb */ color: rgb(101, 51, 152);
/* oklch */ color: oklch(43.8% 0.159 303.1);
Tailwind
colors: {
  custom: {
    50: '#956eb7',
    500: '#653398',
    950: '#000000',
  },
}
SCSS
$custom: #653398;
$custom-light: #956eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#653398",
  "rgb": {
    "r": 101,
    "g": 51,
    "b": 152
  },
  "hsl": {
    "h": 269.703,
    "s": 49.754,
    "l": 39.804
  },
  "oklch": {
    "l": 0.43833,
    "c": 0.15891,
    "h": 303.1
  },
  "luminance": 0.07401
}

Semantic roles & 50–950 ramp

primary
#653398
secondary
#94B96E
accent
#D94F95
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #653398

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

Preview Lab → · Contrast checker → · Palette generator →

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