#751275#751275

#751275 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.3% C 0.170 H 328.2°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#751275
RGBrgb(117, 18, 117)
HSLhsl(300, 73%, 26%)
HSVhsv(300, 85%, 46%)
CMYKcmyk(0%, 84.6%, 0%, 54.1%)
CIE-LABlab(28.11, 51.76, -32.31)
CIE-LCHlch(28.11, 61.01, 328.02°)
OKLaboklab(40.3% 0.1445 -0.0897)
OKLCHoklch(40.3% 0.17 328.2)
XYZxyz(10.7632, 5.4997, 17.3208)
Luminance0.0550 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751275 #127512
analogous
#441275 #751275 #751244
triadic
#751275 #757512 #127575
tetradic
#751275 #754412 #127512 #124475
square
#751275 #754412 #127512 #124475
split-complementary
#751275 #447512 #127544
monochromatic
#1B041B #400A40 #751275 #AA1AAA #DD24DD

Accessibility & contrast

On white

10.00
#751275 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#751275 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751275
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751275#FFFFFF#000000##FFFFFF
##7512751.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A78
Deuteranopia (green-blind)
#304773
Tritanopia (blue-blind)
#792445
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #751275;
/* rgb */ color: rgb(117, 18, 117);
/* oklch */ color: oklch(40.3% 0.170 328.2);
Tailwind
colors: {
  custom: {
    50: '#a05f9d',
    500: '#751275',
    950: '#000000',
  },
}
SCSS
$custom: #751275;
$custom-light: #a05f9d;
$custom-dark: #000000;
JSON
{
  "hex": "#751275",
  "rgb": {
    "r": 117,
    "g": 18,
    "b": 117
  },
  "hsl": {
    "h": 300,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.403,
    "c": 0.1701,
    "h": 328.2
  },
  "luminance": 0.05499
}

Semantic roles & 50–950 ramp

primary
#751275
secondary
#37AC37
accent
#F03838
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050E
muted
#7F7A7E

Preview Lab

Preview with #751275

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

Preview Lab → · Contrast checker → · Palette generator →

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