#75237B#75237B

#75237B is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.1% C 0.157 H 325.0°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#75237B
RGBrgb(117, 35, 123)
HSLhsl(296, 56%, 31%)
HSVhsv(296, 72%, 48%)
CMYKcmyk(4.9%, 71.5%, 0%, 51.8%)
CIE-LABlab(30.44, 47.23, -32.42)
CIE-LCHlch(30.44, 57.28, 325.54°)
OKLaboklab(42.08% 0.1287 -0.0901)
OKLCHoklch(42.08% 0.157 325)
XYZxyz(11.5120, 6.4148, 19.3669)
Luminance0.0641 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#75237B #297B23
analogous
#49237B #75237B #7B2355
triadic
#75237B #7B7523 #237B75
tetradic
#75237B #7B4923 #297B23 #23557B
square
#75237B #7B4923 #297B23 #23557B
split-complementary
#75237B #557B23 #237B49
monochromatic
#1A081C #48154B #75237B #A231AB #C34CCC

Accessibility & contrast

On white

9.20
#75237B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#75237B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #75237B
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##75237B#FFFFFF#000000##FFFFFF
##75237B1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D417E
Deuteranopia (green-blind)
#344B79
Tritanopia (blue-blind)
#78314C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #75237b;
/* rgb */ color: rgb(117, 35, 123);
/* oklch */ color: oklch(42.1% 0.157 325.0);
Tailwind
colors: {
  custom: {
    50: '#a066a1',
    500: '#75237b',
    950: '#000000',
  },
}
SCSS
$custom: #75237b;
$custom-light: #a066a1;
$custom-dark: #000000;
JSON
{
  "hex": "#75237b",
  "rgb": {
    "r": 117,
    "g": 35,
    "b": 123
  },
  "hsl": {
    "h": 295.909,
    "s": 55.696,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42076,
    "c": 0.15709,
    "h": 325
  },
  "luminance": 0.06414
}

Semantic roles & 50–950 ramp

primary
#75237B
secondary
#53AE4C
accent
#DF4953
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #75237B

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

Preview Lab → · Contrast checker → · Palette generator →

#75237B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva