#751B8C#751B8C

#751B8C is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.5% C 0.181 H 318.2°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#751B8C
RGBrgb(117, 27, 140)
HSLhsl(288, 68%, 33%)
HSVhsv(288, 81%, 55%)
CMYKcmyk(16.4%, 80.7%, 0%, 45.1%)
CIE-LABlab(30.54, 53.38, -42.86)
CIE-LCHlch(30.54, 68.46, 321.24°)
OKLaboklab(42.51% 0.135 -0.1206)
OKLCHoklch(42.51% 0.181 318.2)
XYZxyz(12.4610, 6.4598, 25.3964)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751B8C #328C1B
analogous
#3D1B8C #751B8C #8C1B6A
triadic
#751B8C #8C751B #1B8C75
tetradic
#751B8C #8C3D1B #328C1B #1B6A8C
square
#751B8C #8C3D1B #328C1B #1B6A8C
split-complementary
#751B8C #6A8C1B #1B8C3D
monochromatic
#1F0725 #4A1159 #751B8C #A025BF #BD46DB

Accessibility & contrast

On white

9.16
#751B8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#751B8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751B8C
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751B8C#FFFFFF#000000##FFFFFF
##751B8C1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428F
Deuteranopia (green-blind)
#214B8A
Tritanopia (blue-blind)
#743454
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #751b8c;
/* rgb */ color: rgb(117, 27, 140);
/* oklch */ color: oklch(42.5% 0.181 318.2);
Tailwind
colors: {
  custom: {
    50: '#a163ae',
    500: '#751b8c',
    950: '#000000',
  },
}
SCSS
$custom: #751b8c;
$custom-light: #a163ae;
$custom-dark: #000000;
JSON
{
  "hex": "#751b8c",
  "rgb": {
    "r": 117,
    "g": 27,
    "b": 140
  },
  "hsl": {
    "h": 287.788,
    "s": 67.665,
    "l": 32.745
  },
  "oklch": {
    "l": 0.4251,
    "c": 0.18104,
    "h": 318.2
  },
  "luminance": 0.06459
}

Semantic roles & 50–950 ramp

primary
#751B8C
secondary
#5EBD46
accent
#EB3D61
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #751B8C

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

Preview Lab → · Contrast checker → · Palette generator →

#751B8C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva