#751B8E#751B8E

#751B8E is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.7% C 0.183 H 317.5°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#751B8E
RGBrgb(117, 27, 142)
HSLhsl(287, 68%, 33%)
HSVhsv(287, 81%, 56%)
CMYKcmyk(17.6%, 81%, 0%, 44.3%)
CIE-LABlab(30.69, 53.78, -43.87)
CIE-LCHlch(30.69, 69.40, 320.79°)
OKLaboklab(42.66% 0.1347 -0.1236)
OKLCHoklch(42.66% 0.183 317.5)
XYZxyz(12.6098, 6.5193, 26.1801)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751B8E #348E1B
analogous
#3C1B8E #751B8E #8E1B6D
triadic
#751B8E #8E751B #1B8E75
tetradic
#751B8E #8E3C1B #348E1B #1B6D8E
square
#751B8E #8E3C1B #348E1B #1B6D8E
split-complementary
#751B8E #6D8E1B #1B8E3C
monochromatic
#200727 #4B115B #751B8E #9F25C1 #BC47DC

Accessibility & contrast

On white

9.12
#751B8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#751B8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751B8E
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751B8E#FFFFFF#000000##FFFFFF
##751B8E1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004391
Deuteranopia (green-blind)
#1E4B8C
Tritanopia (blue-blind)
#743555
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #751b8e;
/* rgb */ color: rgb(117, 27, 142);
/* oklch */ color: oklch(42.7% 0.183 317.5);
Tailwind
colors: {
  custom: {
    50: '#a163b0',
    500: '#751b8e',
    950: '#000000',
  },
}
SCSS
$custom: #751b8e;
$custom-light: #a163b0;
$custom-dark: #000000;
JSON
{
  "hex": "#751b8e",
  "rgb": {
    "r": 117,
    "g": 27,
    "b": 142
  },
  "hsl": {
    "h": 286.957,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42655,
    "c": 0.18279,
    "h": 317.5
  },
  "luminance": 0.06519
}

Semantic roles & 50–950 ramp

primary
#751B8E
secondary
#61BE47
accent
#EB3D63
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #751B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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