#752678#752678

#752678 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.2% C 0.150 H 326.3°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#752678
RGBrgb(117, 38, 120)
HSLhsl(298, 52%, 31%)
HSVhsv(298, 68%, 47%)
CMYKcmyk(2.5%, 68.3%, 0%, 52.9%)
CIE-LABlab(30.70, 45.43, -30.10)
CIE-LCHlch(30.70, 54.50, 326.47°)
OKLaboklab(42.21% 0.1252 -0.0834)
OKLCHoklch(42.21% 0.15 326.3)
XYZxyz(11.4192, 6.5249, 18.4236)
Luminance0.0652 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752678 #297826
analogous
#4C2678 #752678 #782652
triadic
#752678 #787526 #267875
tetradic
#752678 #784C26 #297826 #265278
square
#752678 #784C26 #297826 #265278
split-complementary
#752678 #527826 #26784C
monochromatic
#1A091B #48174A #752678 #A235A6 #C351C8

Accessibility & contrast

On white

9.11
#752678 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#752678 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752678
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752678#FFFFFF#000000##FFFFFF
##7526781.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18427A
Deuteranopia (green-blind)
#384C76
Tritanopia (blue-blind)
#78324C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #752678;
/* rgb */ color: rgb(117, 38, 120);
/* oklch */ color: oklch(42.2% 0.150 326.3);
Tailwind
colors: {
  custom: {
    50: '#a0679f',
    500: '#752678',
    950: '#000000',
  },
}
SCSS
$custom: #752678;
$custom-light: #a0679f;
$custom-dark: #000000;
JSON
{
  "hex": "#752678",
  "rgb": {
    "r": 117,
    "g": 38,
    "b": 120
  },
  "hsl": {
    "h": 297.805,
    "s": 51.899,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42209,
    "c": 0.15042,
    "h": 326.3
  },
  "luminance": 0.06524
}

Semantic roles & 50–950 ramp

primary
#752678
secondary
#53AA50
accent
#DB4C52
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #752678

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

Preview Lab → · Contrast checker → · Palette generator →

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