#752286#752286

#752286 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.7% C 0.168 H 320.2°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#752286
RGBrgb(117, 34, 134)
HSLhsl(290, 60%, 33%)
HSVhsv(290, 75%, 53%)
CMYKcmyk(12.7%, 74.6%, 0%, 47.5%)
CIE-LABlab(30.99, 49.74, -38.42)
CIE-LCHlch(30.99, 62.85, 322.32°)
OKLaboklab(42.7% 0.1293 -0.1076)
OKLCHoklch(42.7% 0.168 320.2)
XYZxyz(12.2107, 6.6478, 23.1896)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752286 #338622
analogous
#432286 #752286 #862265
triadic
#752286 #867522 #228675
tetradic
#752286 #864322 #338622 #226586
square
#752286 #864322 #338622 #226586
split-complementary
#752286 #658622 #228643
monochromatic
#200924 #4A1655 #752286 #A02EB7 #BC50D3

Accessibility & contrast

On white

9.02
#752286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#752286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752286
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752286#FFFFFF#000000##FFFFFF
##7522861.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004389
Deuteranopia (green-blind)
#2C4C84
Tritanopia (blue-blind)
#753552
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #752286;
/* rgb */ color: rgb(117, 34, 134);
/* oklch */ color: oklch(42.7% 0.168 320.2);
Tailwind
colors: {
  custom: {
    50: '#a066aa',
    500: '#752286',
    950: '#000000',
  },
}
SCSS
$custom: #752286;
$custom-light: #a066aa;
$custom-dark: #000000;
JSON
{
  "hex": "#752286",
  "rgb": {
    "r": 117,
    "g": 34,
    "b": 134
  },
  "hsl": {
    "h": 289.8,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42696,
    "c": 0.1682,
    "h": 320.2
  },
  "luminance": 0.06647
}

Semantic roles & 50–950 ramp

primary
#752286
secondary
#5FB64E
accent
#E34560
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #752286

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

Preview Lab → · Contrast checker → · Palette generator →

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