#652198#652198

#652198 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.7% C 0.181 H 305.7°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#652198
RGBrgb(101, 33, 152)
HSLhsl(274, 64%, 36%)
HSVhsv(274, 78%, 60%)
CMYKcmyk(33.6%, 78.3%, 0%, 40.4%)
CIE-LABlab(29.72, 50.79, -51.71)
CIE-LCHlch(29.72, 72.48, 314.49°)
OKLaboklab(41.71% 0.1056 -0.1472)
OKLCHoklch(41.71% 0.181 305.7)
XYZxyz(11.5769, 6.1215, 30.2714)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652198 #549821
analogous
#2A2198 #652198 #982190
triadic
#652198 #986521 #219865
tetradic
#652198 #982A21 #549821 #219098
square
#652198 #982A21 #549821 #219098
split-complementary
#652198 #909821 #21982A
monochromatic
#220B33 #441666 #652198 #862CCA #A359DB

Accessibility & contrast

On white

9.44
#652198 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#652198 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652198
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652198#FFFFFF#000000##FFFFFF
##6521981.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449B
Deuteranopia (green-blind)
#004696
Tritanopia (blue-blind)
#5C3F5C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #652198;
/* rgb */ color: rgb(101, 33, 152);
/* oklch */ color: oklch(41.7% 0.181 305.7);
Tailwind
colors: {
  custom: {
    50: '#9664b7',
    500: '#652198',
    950: '#000000',
  },
}
SCSS
$custom: #652198;
$custom-light: #9664b7;
$custom-dark: #000000;
JSON
{
  "hex": "#652198",
  "rgb": {
    "r": 101,
    "g": 33,
    "b": 152
  },
  "hsl": {
    "h": 274.286,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.41709,
    "c": 0.18117,
    "h": 305.7
  },
  "luminance": 0.06121
}

Semantic roles & 50–950 ramp

primary
#652198
secondary
#83BF56
accent
#E74088
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #652198

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

Preview Lab → · Contrast checker → · Palette generator →

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