#752283#752283

#752283 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.5% C 0.166 H 321.5°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#752283
RGBrgb(117, 34, 131)
HSLhsl(291, 59%, 32%)
HSVhsv(291, 74%, 51%)
CMYKcmyk(10.7%, 74%, 0%, 48.6%)
CIE-LABlab(30.80, 49.16, -36.86)
CIE-LCHlch(30.80, 61.44, 323.14°)
OKLaboklab(42.49% 0.1295 -0.1031)
OKLCHoklch(42.49% 0.166 321.5)
XYZxyz(12.0044, 6.5653, 22.1033)
Luminance0.0657 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752283 #308322
analogous
#442283 #752283 #832261
triadic
#752283 #837522 #228375
tetradic
#752283 #834422 #308322 #226183
square
#752283 #834422 #308322 #226183
split-complementary
#752283 #618322 #228344
monochromatic
#1E0922 #4A1552 #752283 #A02FB4 #BE4ED1

Accessibility & contrast

On white

9.08
#752283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#752283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752283
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752283#FFFFFF#000000##FFFFFF
##7522831.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004386
Deuteranopia (green-blind)
#2E4C81
Tritanopia (blue-blind)
#763450
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #752283;
/* rgb */ color: rgb(117, 34, 131);
/* oklch */ color: oklch(42.5% 0.166 321.5);
Tailwind
colors: {
  custom: {
    50: '#a066a7',
    500: '#752283',
    950: '#000000',
  },
}
SCSS
$custom: #752283;
$custom-light: #a066a7;
$custom-dark: #000000;
JSON
{
  "hex": "#752283",
  "rgb": {
    "r": 117,
    "g": 34,
    "b": 131
  },
  "hsl": {
    "h": 291.34,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42494,
    "c": 0.1655,
    "h": 321.5
  },
  "luminance": 0.06565
}

Semantic roles & 50–950 ramp

primary
#752283
secondary
#5BB44C
accent
#E2465C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #752283

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

Preview Lab → · Contrast checker → · Palette generator →

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