#651173#651173

#651173 is a dark, vivid purple. Relative luminance 0.044; OKLCH L 37.5% C 0.162 H 321.2°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#651173
RGBrgb(101, 17, 115)
HSLhsl(291, 74%, 26%)
HSVhsv(291, 85%, 45%)
CMYKcmyk(12.2%, 85.2%, 0%, 54.9%)
CIE-LABlab(24.97, 48.41, -36.23)
CIE-LCHlch(24.97, 60.46, 323.19°)
OKLaboklab(37.48% 0.1266 -0.1016)
OKLCHoklch(37.48% 0.162 321.2)
XYZxyz(8.6614, 4.4059, 16.6105)
Luminance0.0440 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651173 #1F7311
analogous
#341173 #651173 #731150
triadic
#651173 #736511 #117365
tetradic
#651173 #733411 #1F7311 #115073
square
#651173 #733411 #1F7311 #115073
split-complementary
#651173 #507311 #117334
monochromatic
#17041B #36093E #651173 #9419A8 #C321DE

Accessibility & contrast

On white

11.16
#651173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#651173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #651173
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651173#FFFFFF#000000##FFFFFF
##6511731.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003676
Deuteranopia (green-blind)
#1F3E71
Tritanopia (blue-blind)
#662743
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #651173;
/* rgb */ color: rgb(101, 17, 115);
/* oklch */ color: oklch(37.5% 0.162 321.2);
Tailwind
colors: {
  custom: {
    50: '#945c9c',
    500: '#651173',
    950: '#000000',
  },
}
SCSS
$custom: #651173;
$custom-light: #945c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#651173",
  "rgb": {
    "r": 101,
    "g": 17,
    "b": 115
  },
  "hsl": {
    "h": 291.429,
    "s": 74.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.3748,
    "c": 0.16234,
    "h": 321.2
  },
  "luminance": 0.04405
}

Semantic roles & 50–950 ramp

primary
#651173
secondary
#46AA36
accent
#F13751
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #651173

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

Preview Lab → · Contrast checker → · Palette generator →

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