#651F7C#651F7C

#651F7C is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.3% C 0.156 H 316.3°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#651F7C
RGBrgb(101, 31, 124)
HSLhsl(285, 60%, 30%)
HSVhsv(285, 75%, 49%)
CMYKcmyk(18.5%, 75%, 0%, 51.4%)
CIE-LABlab(27.30, 45.34, -38.21)
CIE-LCHlch(27.30, 59.29, 319.88°)
OKLaboklab(39.33% 0.1127 -0.1075)
OKLCHoklch(39.33% 0.156 316.3)
XYZxyz(9.4943, 5.2023, 19.5689)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651F7C #367C1F
analogous
#361F7C #651F7C #7C1F64
triadic
#651F7C #7C651F #1F7C65
tetradic
#651F7C #7C361F #367C1F #1F647C
square
#651F7C #7C361F #367C1F #1F647C
split-complementary
#651F7C #647C1F #1F7C36
monochromatic
#15071A #3D134B #651F7C #8D2BAD #AE45D0

Accessibility & contrast

On white

10.29
#651F7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#651F7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #651F7C
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651F7C#FFFFFF#000000##FFFFFF
##651F7C1.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7F
Deuteranopia (green-blind)
#1F427A
Tritanopia (blue-blind)
#64324C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #651f7c;
/* rgb */ color: rgb(101, 31, 124);
/* oklch */ color: oklch(39.3% 0.156 316.3);
Tailwind
colors: {
  custom: {
    50: '#9462a2',
    500: '#651f7c',
    950: '#000000',
  },
}
SCSS
$custom: #651f7c;
$custom-light: #9462a2;
$custom-dark: #000000;
JSON
{
  "hex": "#651f7c",
  "rgb": {
    "r": 101,
    "g": 31,
    "b": 124
  },
  "hsl": {
    "h": 285.161,
    "s": 60,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39334,
    "c": 0.15574,
    "h": 316.3
  },
  "luminance": 0.05202
}

Semantic roles & 50–950 ramp

primary
#651F7C
secondary
#61AF48
accent
#E3456C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #651F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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