#651986#651986

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

Color values

HEX#651986
RGBrgb(101, 25, 134)
HSLhsl(282, 69%, 31%)
HSVhsv(282, 81%, 53%)
CMYKcmyk(24.6%, 81.3%, 0%, 47.5%)
CIE-LABlab(27.25, 49.75, -44.58)
CIE-LCHlch(27.25, 66.80, 318.14°)
OKLaboklab(39.53% 0.1167 -0.1262)
OKLCHoklch(39.53% 0.172 312.8)
XYZxyz(10.0168, 5.1835, 23.0225)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651986 #3A8619
analogous
#2E1986 #651986 #861970
triadic
#651986 #866519 #198665
tetradic
#651986 #862E19 #3A8619 #197086
square
#651986 #862E19 #3A8619 #197086
split-complementary
#651986 #708619 #19862E
monochromatic
#17061F #3E0F52 #651986 #8C23BA #AC3EDB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##651986#FFFFFF#000000##FFFFFF
##6519861.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)
#003D89
Deuteranopia (green-blind)
#064284
Tritanopia (blue-blind)
#613450
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #651986;
/* rgb */ color: rgb(101, 25, 134);
/* oklch */ color: oklch(39.5% 0.172 312.8);
Tailwind
colors: {
  custom: {
    50: '#9560aa',
    500: '#651986',
    950: '#000000',
  },
}
SCSS
$custom: #651986;
$custom-light: #9560aa;
$custom-dark: #000000;
JSON
{
  "hex": "#651986",
  "rgb": {
    "r": 101,
    "g": 25,
    "b": 134
  },
  "hsl": {
    "h": 281.835,
    "s": 68.553,
    "l": 31.176
  },
  "oklch": {
    "l": 0.3953,
    "c": 0.17187,
    "h": 312.8
  },
  "luminance": 0.05183
}

Semantic roles & 50–950 ramp

primary
#651986
secondary
#66BA41
accent
#EB3C71
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #651986

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

Preview Lab → · Contrast checker → · Palette generator →

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