#651F7A#651F7A

#651F7A is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.2% C 0.154 H 317.2°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#651F7A
RGBrgb(101, 31, 122)
HSLhsl(286, 59%, 30%)
HSVhsv(286, 75%, 48%)
CMYKcmyk(17.2%, 74.6%, 0%, 52.2%)
CIE-LABlab(27.16, 44.92, -37.16)
CIE-LCHlch(27.16, 58.30, 320.40°)
OKLaboklab(39.19% 0.1129 -0.1045)
OKLCHoklch(39.19% 0.154 317.2)
XYZxyz(9.3692, 5.1522, 18.9095)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651F7A #347A1F
analogous
#381F7A #651F7A #7A1F61
triadic
#651F7A #7A651F #1F7A65
tetradic
#651F7A #7A381F #347A1F #1F617A
square
#651F7A #7A381F #347A1F #1F617A
split-complementary
#651F7A #617A1F #1F7A38
monochromatic
#140618 #3D1349 #651F7A #8D2BAB #AF44CF

Accessibility & contrast

On white

10.34
#651F7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#651F7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #651F7A
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651F7A#FFFFFF#000000##FFFFFF
##651F7A1.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7D
Deuteranopia (green-blind)
#214278
Tritanopia (blue-blind)
#64314A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #651f7a;
/* rgb */ color: rgb(101, 31, 122);
/* oklch */ color: oklch(39.2% 0.154 317.2);
Tailwind
colors: {
  custom: {
    50: '#9462a1',
    500: '#651f7a',
    950: '#000000',
  },
}
SCSS
$custom: #651f7a;
$custom-light: #9462a1;
$custom-dark: #000000;
JSON
{
  "hex": "#651f7a",
  "rgb": {
    "r": 101,
    "g": 31,
    "b": 122
  },
  "hsl": {
    "h": 286.154,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.3919,
    "c": 0.1538,
    "h": 317.2
  },
  "luminance": 0.05152
}

Semantic roles & 50–950 ramp

primary
#651F7A
secondary
#5FAD47
accent
#E34569
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #651F7A

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

Preview Lab → · Contrast checker → · Palette generator →

#651F7A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva