#78409B#78409B

#78409B is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.2% C 0.148 H 310.4°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#78409B
RGBrgb(120, 64, 155)
HSLhsl(277, 42%, 43%)
HSVhsv(277, 59%, 61%)
CMYKcmyk(22.6%, 58.7%, 0%, 39.2%)
CIE-LABlab(37.89, 40.85, -40.23)
CIE-LCHlch(37.89, 57.33, 315.44°)
OKLaboklab(48.19% 0.0962 -0.113)
OKLCHoklch(48.19% 0.148 310.4)
XYZxyz(15.4944, 10.0267, 32.1231)
Luminance0.1003 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78409B #639B40
analogous
#4A409B #78409B #9B4090
triadic
#78409B #9B7840 #409B78
tetradic
#78409B #9B4A40 #639B40 #40909B
square
#78409B #9B4A40 #639B40 #40909B
split-complementary
#78409B #909B40 #409B4A
monochromatic
#351C44 #562E70 #78409B #975CBC #B388CE

Accessibility & contrast

On white

6.99
#78409B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#78409B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #78409B
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78409B#FFFFFF#000000##FFFFFF
##78409B1.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21579E
Deuteranopia (green-blind)
#375A99
Tritanopia (blue-blind)
#745167
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #78409b;
/* rgb */ color: rgb(120, 64, 155);
/* oklch */ color: oklch(48.2% 0.148 310.4);
Tailwind
colors: {
  custom: {
    50: '#a277b9',
    500: '#78409b',
    950: '#000000',
  },
}
SCSS
$custom: #78409b;
$custom-light: #a277b9;
$custom-dark: #000000;
JSON
{
  "hex": "#78409b",
  "rgb": {
    "r": 120,
    "g": 64,
    "b": 155
  },
  "hsl": {
    "h": 276.923,
    "s": 41.553,
    "l": 42.941
  },
  "oklch": {
    "l": 0.48194,
    "c": 0.14843,
    "h": 310.4
  },
  "luminance": 0.10026
}

Semantic roles & 50–950 ramp

primary
#78409B
secondary
#95B87E
accent
#D15686
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #78409B

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

Preview Lab → · Contrast checker → · Palette generator →

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