#75287F#75287F

#75287F is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.9% C 0.154 H 322.9°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#75287F
RGBrgb(117, 40, 127)
HSLhsl(293, 52%, 33%)
HSVhsv(293, 69%, 50%)
CMYKcmyk(7.9%, 68.5%, 0%, 50.2%)
CIE-LABlab(31.42, 45.90, -33.36)
CIE-LCHlch(31.42, 56.74, 323.99°)
OKLaboklab(42.86% 0.1229 -0.0929)
OKLCHoklch(42.86% 0.154 322.9)
XYZxyz(11.9253, 6.8325, 20.7652)
Luminance0.0683 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#75287F #327F28
analogous
#49287F #75287F #7F285E
triadic
#75287F #7F7528 #287F75
tetradic
#75287F #7F4928 #327F28 #285E7F
square
#75287F #7F4928 #327F28 #285E7F
split-complementary
#75287F #5E7F28 #287F49
monochromatic
#1F0B22 #4A1950 #75287F #A037AE #BD57CA

Accessibility & contrast

On white

8.87
#75287F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#75287F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #75287F
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##75287F#FFFFFF#000000##FFFFFF
##75287F1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124482
Deuteranopia (green-blind)
#354D7D
Tritanopia (blue-blind)
#773650
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #75287f;
/* rgb */ color: rgb(117, 40, 127);
/* oklch */ color: oklch(42.9% 0.154 322.9);
Tailwind
colors: {
  custom: {
    50: '#a069a4',
    500: '#75287f',
    950: '#000000',
  },
}
SCSS
$custom: #75287f;
$custom-light: #a069a4;
$custom-dark: #000000;
JSON
{
  "hex": "#75287f",
  "rgb": {
    "r": 117,
    "g": 40,
    "b": 127
  },
  "hsl": {
    "h": 293.103,
    "s": 52.096,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42863,
    "c": 0.15407,
    "h": 322.9
  },
  "luminance": 0.06832
}

Semantic roles & 50–950 ramp

primary
#75287F
secondary
#5EAF54
accent
#DC4C5D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #75287F

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

Preview Lab → · Contrast checker → · Palette generator →

#75287F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva