#651F7B#651F7B

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

Color values

HEX#651F7B
RGBrgb(101, 31, 123)
HSLhsl(286, 60%, 30%)
HSVhsv(286, 75%, 48%)
CMYKcmyk(17.9%, 74.8%, 0%, 51.8%)
CIE-LABlab(27.23, 45.13, -37.69)
CIE-LCHlch(27.23, 58.80, 320.14°)
OKLaboklab(39.26% 0.1128 -0.106)
OKLCHoklch(39.26% 0.155 316.8)
XYZxyz(9.4314, 5.1771, 19.2375)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651F7B #357B1F
analogous
#371F7B #651F7B #7B1F63
triadic
#651F7B #7B651F #1F7B65
tetradic
#651F7B #7B371F #357B1F #1F637B
square
#651F7B #7B371F #357B1F #1F637B
split-complementary
#651F7B #637B1F #1F7B37
monochromatic
#150619 #3D134A #651F7B #8D2BAC #AF44D0

Accessibility & contrast

On white

10.32
#651F7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #651F7B
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651F7B#FFFFFF#000000##FFFFFF
##651F7B1.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7E
Deuteranopia (green-blind)
#204279
Tritanopia (blue-blind)
#64324B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #651f7b;
/* rgb */ color: rgb(101, 31, 123);
/* oklch */ color: oklch(39.3% 0.155 316.8);
Tailwind
colors: {
  custom: {
    50: '#9462a2',
    500: '#651f7b',
    950: '#000000',
  },
}
SCSS
$custom: #651f7b;
$custom-light: #9462a2;
$custom-dark: #000000;
JSON
{
  "hex": "#651f7b",
  "rgb": {
    "r": 101,
    "g": 31,
    "b": 123
  },
  "hsl": {
    "h": 285.652,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39261,
    "c": 0.15477,
    "h": 316.8
  },
  "luminance": 0.05177
}

Semantic roles & 50–950 ramp

primary
#651F7B
secondary
#60AE48
accent
#E3456B
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #651F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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