#78236F#78236F

#78236F is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.8% C 0.149 H 332.5°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#78236F
RGBrgb(120, 35, 111)
HSLhsl(306, 55%, 30%)
HSVhsv(306, 71%, 47%)
CMYKcmyk(0%, 70.8%, 7.5%, 52.9%)
CIE-LABlab(30.26, 45.83, -25.04)
CIE-LCHlch(30.26, 52.23, 331.35°)
OKLaboklab(41.83% 0.1317 -0.0687)
OKLCHoklch(41.83% 0.149 332.5)
XYZxyz(11.2160, 6.3437, 15.6696)
Luminance0.0634 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78236F #23782C
analogous
#562378 #78236F #782344
triadic
#78236F #6F7823 #236F78
tetradic
#78236F #785623 #23782C #234478
square
#78236F #785623 #23782C #234478
split-complementary
#78236F #447823 #237856
monochromatic
#190717 #491543 #78236F #A7319B #CA4BBD

Accessibility & contrast

On white

9.26
#78236F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#78236F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78236F
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78236F#FFFFFF#000000##FFFFFF
##78236F1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4071
Deuteranopia (green-blind)
#3D4C6D
Tritanopia (blue-blind)
#7D2B46
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #78236f;
/* rgb */ color: rgb(120, 35, 111);
/* oklch */ color: oklch(41.8% 0.149 332.5);
Tailwind
colors: {
  custom: {
    50: '#a26698',
    500: '#78236f',
    950: '#000000',
  },
}
SCSS
$custom: #78236f;
$custom-light: #a26698;
$custom-dark: #000000;
JSON
{
  "hex": "#78236f",
  "rgb": {
    "r": 120,
    "g": 35,
    "b": 111
  },
  "hsl": {
    "h": 306.353,
    "s": 54.839,
    "l": 30.392
  },
  "oklch": {
    "l": 0.4183,
    "c": 0.14853,
    "h": 332.5
  },
  "luminance": 0.06343
}

Semantic roles & 50–950 ramp

primary
#78236F
secondary
#4CAB56
accent
#DE594A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #78236F

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

Preview Lab → · Contrast checker → · Palette generator →

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