#514580#514580

#514580 is a dark, moderate violet. Relative luminance 0.076; OKLCH L 43.1% C 0.096 H 291.2°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#514580
RGBrgb(81, 69, 128)
HSLhsl(252, 30%, 39%)
HSVhsv(252, 46%, 50%)
CMYKcmyk(36.7%, 46.1%, 0%, 49.8%)
CIE-LABlab(33.06, 19.91, -31.67)
CIE-LCHlch(33.06, 37.40, 302.15°)
OKLaboklab(43.09% 0.0346 -0.0891)
OKLCHoklch(43.09% 0.096 291.2)
XYZxyz(9.4167, 7.5639, 21.3817)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514580 #748045
analogous
#455680 #514580 #6E4580
triadic
#514580 #805145 #458051
tetradic
#514580 #804556 #748045 #45806E
square
#514580 #804556 #748045 #45806E
split-complementary
#514580 #806E45 #568045
monochromatic
#1F1A30 #383058 #514580 #6B5BA7 #8F83BC

Accessibility & contrast

On white

8.36
#514580 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#514580 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514580
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514580#FFFFFF#000000##FFFFFF
##5145801.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314F82
Deuteranopia (green-blind)
#324D7F
Tritanopia (blue-blind)
#45505C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #514580;
/* rgb */ color: rgb(81, 69, 128);
/* oklch */ color: oklch(43.1% 0.096 291.2);
Tailwind
colors: {
  custom: {
    50: '#8478a5',
    500: '#514580',
    950: '#000000',
  },
}
SCSS
$custom: #514580;
$custom-light: #8478a5;
$custom-dark: #000000;
JSON
{
  "hex": "#514580",
  "rgb": {
    "r": 81,
    "g": 69,
    "b": 128
  },
  "hsl": {
    "h": 252.203,
    "s": 29.949,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43086,
    "c": 0.09562,
    "h": 291.2
  },
  "luminance": 0.07564
}

Semantic roles & 50–950 ramp

primary
#514580
secondary
#9EA879
accent
#C662B2
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B090F
muted
#7C7B7F

Preview Lab

Preview with #514580

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

Preview Lab → · Contrast checker → · Palette generator →

#514580 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva