#78259B#78259B

#78259B is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.9% C 0.185 H 313.5°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#78259B
RGBrgb(120, 37, 155)
HSLhsl(282, 61%, 38%)
HSVhsv(282, 76%, 61%)
CMYKcmyk(22.6%, 76.1%, 0%, 39.2%)
CIE-LABlab(33.31, 53.51, -47.58)
CIE-LCHlch(33.31, 71.60, 318.36°)
OKLaboklab(44.9% 0.1276 -0.1344)
OKLCHoklch(44.9% 0.185 313.5)
XYZxyz(14.3227, 7.6832, 31.7325)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78259B #489B25
analogous
#3D259B #78259B #9B2583
triadic
#78259B #9B7825 #259B78
tetradic
#78259B #9B3D25 #489B25 #25839B
square
#78259B #9B3D25 #489B25 #25839B
split-complementary
#78259B #839B25 #259B3D
monochromatic
#2B0D38 #52196A #78259B #9E31CC #B661D9

Accessibility & contrast

On white

8.28
#78259B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#78259B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78259B
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78259B#FFFFFF#000000##FFFFFF
##78259B1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9E
Deuteranopia (green-blind)
#1A5098
Tritanopia (blue-blind)
#74405F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #78259b;
/* rgb */ color: rgb(120, 37, 155);
/* oklch */ color: oklch(44.9% 0.185 313.5);
Tailwind
colors: {
  custom: {
    50: '#a369b9',
    500: '#78259b',
    950: '#000000',
  },
}
SCSS
$custom: #78259b;
$custom-light: #a369b9;
$custom-dark: #000000;
JSON
{
  "hex": "#78259b",
  "rgb": {
    "r": 120,
    "g": 37,
    "b": 155
  },
  "hsl": {
    "h": 282.203,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.449,
    "c": 0.18535,
    "h": 313.5
  },
  "luminance": 0.07683
}

Semantic roles & 50–950 ramp

primary
#78259B
secondary
#7ABF5D
accent
#E54373
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #78259B

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

Preview Lab → · Contrast checker → · Palette generator →

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