#76579D#76579D

#76579D is a mid, moderate violet. Relative luminance 0.131; OKLCH L 51.9% C 0.112 H 303.2°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#76579D
RGBrgb(118, 87, 157)
HSLhsl(267, 29%, 48%)
HSVhsv(267, 45%, 62%)
CMYKcmyk(24.8%, 44.6%, 0%, 38.4%)
CIE-LABlab(42.92, 27.56, -33.47)
CIE-LCHlch(42.92, 43.36, 309.47°)
OKLaboklab(51.91% 0.0611 -0.0935)
OKLCHoklch(51.91% 0.112 303.2)
XYZxyz(16.9639, 13.1023, 33.5270)
Luminance0.1310 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76579D #7E9D57
analogous
#575B9D #76579D #99579D
triadic
#76579D #9D7657 #579D76
tetradic
#76579D #9D575B #7E9D57 #579D99
square
#76579D #9D575B #7E9D57 #579D99
split-complementary
#76579D #9D9957 #5B9D57
monochromatic
#3B2B4E #584176 #76579D #957BB6 #B5A3CC

Accessibility & contrast

On white

5.80
#76579D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#76579D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #76579D
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76579D#FFFFFF#000000##FFFFFF
##76579D1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4565A0
Deuteranopia (green-blind)
#4C659B
Tritanopia (blue-blind)
#6F6372
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #76579d;
/* rgb */ color: rgb(118, 87, 157);
/* oklch */ color: oklch(51.9% 0.112 303.2);
Tailwind
colors: {
  custom: {
    50: '#9f87ba',
    500: '#76579d',
    950: '#000000',
  },
}
SCSS
$custom: #76579d;
$custom-light: #9f87ba;
$custom-dark: #000000;
JSON
{
  "hex": "#76579d",
  "rgb": {
    "r": 118,
    "g": 87,
    "b": 157
  },
  "hsl": {
    "h": 266.571,
    "s": 28.689,
    "l": 47.843
  },
  "oklch": {
    "l": 0.51908,
    "c": 0.11165,
    "h": 303.2
  },
  "luminance": 0.13102
}

Semantic roles & 50–950 ramp

primary
#76579D
secondary
#AAB996
accent
#C5639A
background
#F9F8FB
surface
#F2EFF6
border
#CCCAD0
text
#0F0B11
muted
#7E7C80

Preview Lab

Preview with #76579D

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

Preview Lab → · Contrast checker → · Palette generator →

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