#652079#652079

#652079 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.2% C 0.152 H 317.6°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#652079
RGBrgb(101, 32, 121)
HSLhsl(287, 58%, 30%)
HSVhsv(287, 74%, 47%)
CMYKcmyk(16.5%, 73.6%, 0%, 52.5%)
CIE-LABlab(27.24, 44.29, -36.40)
CIE-LCHlch(27.24, 57.33, 320.58°)
OKLaboklab(39.22% 0.1119 -0.1022)
OKLCHoklch(39.22% 0.152 317.6)
XYZxyz(9.3340, 5.1806, 18.5937)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652079 #347920
analogous
#392079 #652079 #792060
triadic
#652079 #796520 #207965
tetradic
#652079 #793920 #347920 #206079
square
#652079 #793920 #347920 #206079
split-complementary
#652079 #607920 #207939
monochromatic
#140618 #3D1349 #652079 #8D2DA9 #AF45CE

Accessibility & contrast

On white

10.31
#652079 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#652079 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652079
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652079#FFFFFF#000000##FFFFFF
##6520791.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7C
Deuteranopia (green-blind)
#234277
Tritanopia (blue-blind)
#64324A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #652079;
/* rgb */ color: rgb(101, 32, 121);
/* oklch */ color: oklch(39.2% 0.152 317.6);
Tailwind
colors: {
  custom: {
    50: '#9462a0',
    500: '#652079',
    950: '#000000',
  },
}
SCSS
$custom: #652079;
$custom-light: #9462a0;
$custom-dark: #000000;
JSON
{
  "hex": "#652079",
  "rgb": {
    "r": 101,
    "g": 32,
    "b": 121
  },
  "hsl": {
    "h": 286.517,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.39224,
    "c": 0.15157,
    "h": 317.6
  },
  "luminance": 0.0518
}

Semantic roles & 50–950 ramp

primary
#652079
secondary
#5FAC49
accent
#E14669
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D050F
muted
#7E7A7E

Preview Lab

Preview with #652079

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

Preview Lab → · Contrast checker → · Palette generator →

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