#75197E#75197E

#75197E is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.4% C 0.171 H 324.0°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#75197E
RGBrgb(117, 25, 126)
HSLhsl(295, 67%, 30%)
HSVhsv(295, 80%, 49%)
CMYKcmyk(7.1%, 80.2%, 0%, 50.6%)
CIE-LABlab(29.37, 51.36, -36.00)
CIE-LCHlch(29.37, 62.72, 324.97°)
OKLaboklab(41.38% 0.1384 -0.1005)
OKLCHoklch(41.38% 0.171 324)
XYZxyz(11.4493, 5.9843, 20.2866)
Luminance0.0598 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#75197E #227E19
analogous
#42197E #75197E #7E1955
triadic
#75197E #7E7519 #197E75
tetradic
#75197E #7E4219 #227E19 #19557E
square
#75197E #7E4219 #227E19 #19557E
split-complementary
#75197E #557E19 #197E42
monochromatic
#18051A #460F4B #75197E #A423B1 #CA3AD8

Accessibility & contrast

On white

9.56
#75197E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#75197E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #75197E
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##75197E#FFFFFF#000000##FFFFFF
##75197E1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E81
Deuteranopia (green-blind)
#2D497C
Tritanopia (blue-blind)
#772D4B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #75197e;
/* rgb */ color: rgb(117, 25, 126);
/* oklch */ color: oklch(41.4% 0.171 324.0);
Tailwind
colors: {
  custom: {
    50: '#a062a4',
    500: '#75197e',
    950: '#000000',
  },
}
SCSS
$custom: #75197e;
$custom-light: #a062a4;
$custom-dark: #000000;
JSON
{
  "hex": "#75197e",
  "rgb": {
    "r": 117,
    "g": 25,
    "b": 126
  },
  "hsl": {
    "h": 294.653,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41378,
    "c": 0.17103,
    "h": 324
  },
  "luminance": 0.05984
}

Semantic roles & 50–950 ramp

primary
#75197E
secondary
#4BB241
accent
#EA3E4D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #75197E

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

Preview Lab → · Contrast checker → · Palette generator →

#75197E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva