#78238D#78238D

#78238D is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.7% C 0.175 H 318.8°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#78238D
RGBrgb(120, 35, 141)
HSLhsl(288, 60%, 35%)
HSVhsv(288, 75%, 55%)
CMYKcmyk(14.9%, 75.2%, 0%, 44.7%)
CIE-LABlab(32.08, 51.40, -40.99)
CIE-LCHlch(32.08, 65.75, 321.43°)
OKLaboklab(43.71% 0.1314 -0.1151)
OKLCHoklch(43.71% 0.175 318.8)
XYZxyz(13.1538, 7.1188, 25.8753)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78238D #388D23
analogous
#43238D #78238D #8D236D
triadic
#78238D #8D7823 #238D78
tetradic
#78238D #8D4323 #388D23 #236D8D
square
#78238D #8D4323 #388D23 #236D8D
split-complementary
#78238D #6D8D23 #238D43
monochromatic
#250B2B #4E175C #78238D #A22FBE #BC55D5

Accessibility & contrast

On white

8.66
#78238D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#78238D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78238D
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78238D#FFFFFF#000000##FFFFFF
##78238D1.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004690
Deuteranopia (green-blind)
#2A4E8B
Tritanopia (blue-blind)
#783956
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #78238d;
/* rgb */ color: rgb(120, 35, 141);
/* oklch */ color: oklch(43.7% 0.175 318.8);
Tailwind
colors: {
  custom: {
    50: '#a267af',
    500: '#78238d',
    950: '#000000',
  },
}
SCSS
$custom: #78238d;
$custom-light: #a267af;
$custom-dark: #000000;
JSON
{
  "hex": "#78238d",
  "rgb": {
    "r": 120,
    "g": 35,
    "b": 141
  },
  "hsl": {
    "h": 288.113,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43713,
    "c": 0.17467,
    "h": 318.8
  },
  "luminance": 0.07118
}

Semantic roles & 50–950 ramp

primary
#78238D
secondary
#67B953
accent
#E34464
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #78238D

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

Preview Lab → · Contrast checker → · Palette generator →

#78238D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva