#751BA6#751BA6

#751BA6 is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.5% C 0.204 H 309.3°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#751BA6
RGBrgb(117, 27, 166)
HSLhsl(279, 72%, 38%)
HSVhsv(279, 84%, 65%)
CMYKcmyk(29.5%, 83.7%, 0%, 34.9%)
CIE-LABlab(32.52, 58.69, -55.54)
CIE-LCHlch(32.52, 80.80, 316.58°)
OKLaboklab(44.52% 0.1293 -0.1578)
OKLCHoklch(44.52% 0.204 309.3)
XYZxyz(14.6096, 7.3192, 36.7121)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751BA6 #4CA61B
analogous
#2F1BA6 #751BA6 #A61B91
triadic
#751BA6 #A6751B #1BA675
tetradic
#751BA6 #A62F1B #4CA61B #1B91A6
square
#751BA6 #A62F1B #4CA61B #1B91A6
split-complementary
#751BA6 #91A61B #1BA62F
monochromatic
#2B0A3D #501271 #751BA6 #9A24DB #B258E4

Accessibility & contrast

On white

8.52
#751BA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#751BA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751BA6
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751BA6#FFFFFF#000000##FFFFFF
##751BA61.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AA
Deuteranopia (green-blind)
#004EA3
Tritanopia (blue-blind)
#6D4163
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #751ba6;
/* rgb */ color: rgb(117, 27, 166);
/* oklch */ color: oklch(44.5% 0.204 309.3);
Tailwind
colors: {
  custom: {
    50: '#a265c1',
    500: '#751ba6',
    950: '#000000',
  },
}
SCSS
$custom: #751ba6;
$custom-light: #a265c1;
$custom-dark: #000000;
JSON
{
  "hex": "#751ba6",
  "rgb": {
    "r": 117,
    "g": 27,
    "b": 166
  },
  "hsl": {
    "h": 278.849,
    "s": 72.021,
    "l": 37.843
  },
  "oklch": {
    "l": 0.44516,
    "c": 0.20404,
    "h": 309.3
  },
  "luminance": 0.07319
}

Semantic roles & 50–950 ramp

primary
#751BA6
secondary
#7EC756
accent
#EF3979
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100612
muted
#7F7A81

Preview Lab

Preview with #751BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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