#653298#653298

#653298 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.7% C 0.160 H 303.3°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#653298
RGBrgb(101, 50, 152)
HSLhsl(270, 50%, 40%)
HSVhsv(270, 67%, 60%)
CMYKcmyk(33.6%, 67.1%, 0%, 40.4%)
CIE-LABlab(32.51, 42.93, -47.17)
CIE-LCHlch(32.51, 63.78, 312.30°)
OKLaboklab(43.7% 0.088 -0.134)
OKLCHoklch(43.7% 0.16 303.3)
XYZxyz(12.1736, 7.3149, 30.4703)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#653298 #659832
analogous
#323298 #653298 #983298
triadic
#653298 #986532 #329865
tetradic
#653298 #983232 #659832 #329898
square
#653298 #983232 #659832 #329898
split-complementary
#653298 #989832 #329832
monochromatic
#28143C #46236A #653298 #8445C2 #A273D1

Accessibility & contrast

On white

8.53
#653298 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#653298 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #653298
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##653298#FFFFFF#000000##FFFFFF
##6532981.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9B
Deuteranopia (green-blind)
#0C4C96
Tritanopia (blue-blind)
#5B4960
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #653298;
/* rgb */ color: rgb(101, 50, 152);
/* oklch */ color: oklch(43.7% 0.160 303.3);
Tailwind
colors: {
  custom: {
    50: '#956db7',
    500: '#653298',
    950: '#000000',
  },
}
SCSS
$custom: #653298;
$custom-light: #956db7;
$custom-dark: #000000;
JSON
{
  "hex": "#653298",
  "rgb": {
    "r": 101,
    "g": 50,
    "b": 152
  },
  "hsl": {
    "h": 270,
    "s": 50.495,
    "l": 39.608
  },
  "oklch": {
    "l": 0.43696,
    "c": 0.16031,
    "h": 303.3
  },
  "luminance": 0.07315
}

Semantic roles & 50–950 ramp

primary
#653298
secondary
#93B96D
accent
#DA4E94
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #653298

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

Preview Lab → · Contrast checker → · Palette generator →

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