#751268#751268

#751268 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.5% C 0.160 H 334.5°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#751268
RGBrgb(117, 18, 104)
HSLhsl(308, 73%, 26%)
HSVhsv(308, 85%, 46%)
CMYKcmyk(0%, 84.6%, 11.1%, 54.1%)
CIE-LABlab(27.34, 49.64, -25.18)
CIE-LCHlch(27.34, 55.66, 333.10°)
OKLaboklab(39.5% 0.1447 -0.069)
OKLCHoklch(39.5% 0.16 334.5)
XYZxyz(10.0512, 5.2149, 13.5712)
Luminance0.0521 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751268 #12751F
analogous
#511275 #751268 #751237
triadic
#751268 #687512 #126875
tetradic
#751268 #755112 #12751F #123775
square
#751268 #755112 #12751F #123775
split-complementary
#751268 #377512 #127551
monochromatic
#1B0418 #400A39 #751268 #AA1A97 #DD24C5

Accessibility & contrast

On white

10.28
#751268 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#751268 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751268
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751268#FFFFFF#000000##FFFFFF
##7512681.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10376A
Deuteranopia (green-blind)
#384666
Tritanopia (blue-blind)
#7B1D3D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #751268;
/* rgb */ color: rgb(117, 18, 104);
/* oklch */ color: oklch(39.5% 0.160 334.5);
Tailwind
colors: {
  custom: {
    50: '#a05e93',
    500: '#751268',
    950: '#000000',
  },
}
SCSS
$custom: #751268;
$custom-light: #a05e93;
$custom-dark: #000000;
JSON
{
  "hex": "#751268",
  "rgb": {
    "r": 117,
    "g": 18,
    "b": 104
  },
  "hsl": {
    "h": 307.879,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.39499,
    "c": 0.16028,
    "h": 334.5
  },
  "luminance": 0.05214
}

Semantic roles & 50–950 ramp

primary
#751268
secondary
#37AC46
accent
#F05038
background
#FAF5F9
surface
#F4EAF1
border
#CEC6CB
text
#0F050D
muted
#7F797E

Preview Lab

Preview with #751268

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

Preview Lab → · Contrast checker → · Palette generator →

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