#93308B#93308B

#93308B is a mid, vivid purple. Relative luminance 0.102; OKLCH L 48.9% C 0.170 H 331.2°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#93308B
RGBrgb(147, 48, 139)
HSLhsl(305, 51%, 38%)
HSVhsv(305, 67%, 58%)
CMYKcmyk(0%, 67.3%, 5.4%, 42.4%)
CIE-LABlab(38.17, 52.31, -29.81)
CIE-LCHlch(38.17, 60.21, 330.32°)
OKLaboklab(48.92% 0.1492 -0.0819)
OKLCHoklch(48.92% 0.17 331.2)
XYZxyz(17.7497, 10.1824, 25.4516)
Luminance0.1018 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#93308B #309338
analogous
#693093 #93308B #93305A
triadic
#93308B #8B9330 #308B93
tetradic
#93308B #936930 #309338 #305A93
square
#93308B #936930 #309338 #305A93
split-complementary
#93308B #5A9330 #309369
monochromatic
#371234 #65215F #93308B #C140B6 #D06EC8

Accessibility & contrast

On white

6.92
#93308B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#93308B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #93308B
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##93308B#FFFFFF#000000##FFFFFF
##93308B1.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29518E
Deuteranopia (green-blind)
#4D5F88
Tritanopia (blue-blind)
#993A59
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #93308b;
/* rgb */ color: rgb(147, 48, 139);
/* oklch */ color: oklch(48.9% 0.170 331.2);
Tailwind
colors: {
  custom: {
    50: '#b671ad',
    500: '#93308b',
    950: '#000000',
  },
}
SCSS
$custom: #93308b;
$custom-light: #b671ad;
$custom-dark: #000000;
JSON
{
  "hex": "#93308b",
  "rgb": {
    "r": 147,
    "g": 48,
    "b": 139
  },
  "hsl": {
    "h": 304.848,
    "s": 50.769,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48919,
    "c": 0.17017,
    "h": 331.2
  },
  "luminance": 0.10181
}

Semantic roles & 50–950 ramp

primary
#93308B
secondary
#68B76E
accent
#DA594E
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #93308B

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

Preview Lab → · Contrast checker → · Palette generator →

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