#652292#652292

#652292 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.3% C 0.174 H 307.5°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#652292
RGBrgb(101, 34, 146)
HSLhsl(276, 62%, 35%)
HSVhsv(276, 77%, 57%)
CMYKcmyk(30.8%, 76.7%, 0%, 42.7%)
CIE-LABlab(29.38, 49.00, -48.58)
CIE-LCHlch(29.38, 69.00, 315.25°)
OKLaboklab(41.32% 0.1061 -0.138)
OKLCHoklch(41.32% 0.174 307.5)
XYZxyz(11.1261, 5.9862, 27.7579)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652292 #4F9222
analogous
#2D2292 #652292 #922287
triadic
#652292 #926522 #229265
tetradic
#652292 #922D22 #4F9222 #228792
square
#652292 #922D22 #4F9222 #228792
split-complementary
#652292 #879222 #22922D
monochromatic
#200B2F #431660 #652292 #872EC4 #A457D8

Accessibility & contrast

On white

9.56
#652292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#652292 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652292
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652292#FFFFFF#000000##FFFFFF
##6522921.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004395
Deuteranopia (green-blind)
#004690
Tritanopia (blue-blind)
#5E3D59
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #652292;
/* rgb */ color: rgb(101, 34, 146);
/* oklch */ color: oklch(41.3% 0.174 307.5);
Tailwind
colors: {
  custom: {
    50: '#9565b3',
    500: '#652292',
    950: '#000000',
  },
}
SCSS
$custom: #652292;
$custom-light: #9565b3;
$custom-dark: #000000;
JSON
{
  "hex": "#652292",
  "rgb": {
    "r": 101,
    "g": 34,
    "b": 146
  },
  "hsl": {
    "h": 275.893,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.4132,
    "c": 0.17404,
    "h": 307.5
  },
  "luminance": 0.05986
}

Semantic roles & 50–950 ramp

primary
#652292
secondary
#7EBC54
accent
#E54384
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #652292

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

Preview Lab → · Contrast checker → · Palette generator →

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