#651276#651276

#651276 is a dark, vivid purple. Relative luminance 0.045; OKLCH L 37.8% C 0.164 H 319.8°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#651276
RGBrgb(101, 18, 118)
HSLhsl(290, 74%, 27%)
HSVhsv(290, 85%, 46%)
CMYKcmyk(14.4%, 84.7%, 0%, 53.7%)
CIE-LABlab(25.28, 48.70, -37.64)
CIE-LCHlch(25.28, 61.55, 322.30°)
OKLaboklab(37.77% 0.1254 -0.1058)
OKLCHoklch(37.77% 0.164 319.8)
XYZxyz(8.8527, 4.5078, 17.5398)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651276 #237612
analogous
#331276 #651276 #761255
triadic
#651276 #766512 #127665
tetradic
#651276 #763312 #237612 #125576
square
#651276 #763312 #237612 #125576
split-complementary
#651276 #557612 #127633
monochromatic
#17041B #380A41 #651276 #921AAB #BE25DE

Accessibility & contrast

On white

11.04
#651276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#651276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #651276
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651276#FFFFFF#000000##FFFFFF
##6512761.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003779
Deuteranopia (green-blind)
#1C3F74
Tritanopia (blue-blind)
#652945
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #651276;
/* rgb */ color: rgb(101, 18, 118);
/* oklch */ color: oklch(37.8% 0.164 319.8);
Tailwind
colors: {
  custom: {
    50: '#955c9e',
    500: '#651276',
    950: '#000000',
  },
}
SCSS
$custom: #651276;
$custom-light: #955c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#651276",
  "rgb": {
    "r": 101,
    "g": 18,
    "b": 118
  },
  "hsl": {
    "h": 289.8,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.37769,
    "c": 0.16404,
    "h": 319.8
  },
  "luminance": 0.04507
}

Semantic roles & 50–950 ramp

primary
#651276
secondary
#4BAD37
accent
#F03857
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #651276

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

Preview Lab → · Contrast checker → · Palette generator →

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