#651772#651772

#651772 is a dark, vivid purple. Relative luminance 0.046; OKLCH L 37.9% C 0.156 H 321.4°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#651772
RGBrgb(101, 23, 114)
HSLhsl(291, 66%, 27%)
HSVhsv(291, 80%, 45%)
CMYKcmyk(11.4%, 79.8%, 0%, 55.3%)
CIE-LABlab(25.55, 46.34, -34.66)
CIE-LCHlch(25.55, 57.86, 323.21°)
OKLaboklab(37.87% 0.1217 -0.0971)
OKLCHoklch(37.87% 0.156 321.4)
XYZxyz(8.7101, 4.5949, 16.3444)
Luminance0.0459 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651772 #247217
analogous
#381772 #651772 #721752
triadic
#651772 #726517 #177265
tetradic
#651772 #723817 #247217 #175272
square
#651772 #723817 #247217 #175272
split-complementary
#651772 #527217 #177238
monochromatic
#170519 #380D3F #651772 #9221A5 #BD2ED5

Accessibility & contrast

On white

10.94
#651772 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#651772 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #651772
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651772#FFFFFF#000000##FFFFFF
##6517721.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003774
Deuteranopia (green-blind)
#233F70
Tritanopia (blue-blind)
#662944
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #651772;
/* rgb */ color: rgb(101, 23, 114);
/* oklch */ color: oklch(37.9% 0.156 321.4);
Tailwind
colors: {
  custom: {
    50: '#945e9b',
    500: '#651772',
    950: '#000000',
  },
}
SCSS
$custom: #651772;
$custom-light: #945e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#651772",
  "rgb": {
    "r": 101,
    "g": 23,
    "b": 114
  },
  "hsl": {
    "h": 291.429,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.37865,
    "c": 0.15568,
    "h": 321.4
  },
  "luminance": 0.04594
}

Semantic roles & 50–950 ramp

primary
#651772
secondary
#4CA83D
accent
#E93E57
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #651772

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

Preview Lab → · Contrast checker → · Palette generator →

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