#752274#752274

#752274 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.5% C 0.152 H 328.4°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#752274
RGBrgb(117, 34, 116)
HSLhsl(301, 55%, 30%)
HSVhsv(301, 71%, 46%)
CMYKcmyk(0%, 70.9%, 0.9%, 54.1%)
CIE-LABlab(29.88, 46.34, -28.87)
CIE-LCHlch(29.88, 54.60, 328.08°)
OKLaboklab(41.54% 0.1297 -0.0798)
OKLCHoklch(41.54% 0.152 328.4)
XYZxyz(11.0604, 6.1877, 17.1314)
Luminance0.0619 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752274 #227523
analogous
#4D2275 #752274 #75224B
triadic
#752274 #747522 #227475
tetradic
#752274 #754D22 #227523 #224B75
square
#752274 #754D22 #227523 #224B75
split-complementary
#752274 #4B7522 #22754D
monochromatic
#180718 #461445 #752274 #A430A3 #CA48C8

Accessibility & contrast

On white

9.39
#752274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#752274 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752274
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752274#FFFFFF#000000##FFFFFF
##7522741.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163F76
Deuteranopia (green-blind)
#384A72
Tritanopia (blue-blind)
#792D48
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #752274;
/* rgb */ color: rgb(117, 34, 116);
/* oklch */ color: oklch(41.5% 0.152 328.4);
Tailwind
colors: {
  custom: {
    50: '#a0659c',
    500: '#752274',
    950: '#000000',
  },
}
SCSS
$custom: #752274;
$custom-light: #a0659c;
$custom-dark: #000000;
JSON
{
  "hex": "#752274",
  "rgb": {
    "r": 117,
    "g": 34,
    "b": 116
  },
  "hsl": {
    "h": 300.723,
    "s": 54.967,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41544,
    "c": 0.15227,
    "h": 328.4
  },
  "luminance": 0.06187
}

Semantic roles & 50–950 ramp

primary
#752274
secondary
#4BA84C
accent
#DE4B49
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #752274

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

Preview Lab → · Contrast checker → · Palette generator →

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