#651174#651174

#651174 is a dark, vivid purple. Relative luminance 0.044; OKLCH L 37.6% C 0.163 H 320.8°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#651174
RGBrgb(101, 17, 116)
HSLhsl(291, 74%, 26%)
HSVhsv(291, 85%, 45%)
CMYKcmyk(12.9%, 85.3%, 0%, 54.5%)
CIE-LABlab(25.04, 48.60, -36.75)
CIE-LCHlch(25.04, 60.93, 322.90°)
OKLaboklab(37.55% 0.1265 -0.1032)
OKLCHoklch(37.55% 0.163 320.8)
XYZxyz(8.7193, 4.4290, 16.9152)
Luminance0.0443 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651174 #207411
analogous
#331174 #651174 #741151
triadic
#651174 #746511 #117465
tetradic
#651174 #743311 #207411 #115174
square
#651174 #743311 #207411 #115174
split-complementary
#651174 #517411 #117433
monochromatic
#17041B #37093F #651174 #9319A9 #C221DE

Accessibility & contrast

On white

11.14
#651174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#651174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #651174
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651174#FFFFFF#000000##FFFFFF
##6511741.0011.141.8911.14
#FFFFFF11.141.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003677
Deuteranopia (green-blind)
#1E3E72
Tritanopia (blue-blind)
#662844
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #651174;
/* rgb */ color: rgb(101, 17, 116);
/* oklch */ color: oklch(37.6% 0.163 320.8);
Tailwind
colors: {
  custom: {
    50: '#955c9d',
    500: '#651174',
    950: '#000000',
  },
}
SCSS
$custom: #651174;
$custom-light: #955c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#651174",
  "rgb": {
    "r": 101,
    "g": 17,
    "b": 116
  },
  "hsl": {
    "h": 290.909,
    "s": 74.436,
    "l": 26.078
  },
  "oklch": {
    "l": 0.37553,
    "c": 0.16319,
    "h": 320.8
  },
  "luminance": 0.04429
}

Semantic roles & 50–950 ramp

primary
#651174
secondary
#48AB36
accent
#F13753
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #651174

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

Preview Lab → · Contrast checker → · Palette generator →

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