#514577#514577

#514577 is a dark, moderate violet. Relative luminance 0.073; OKLCH L 42.5% C 0.082 H 293.7°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#514577
RGBrgb(81, 69, 119)
HSLhsl(254, 27%, 37%)
HSVhsv(254, 42%, 47%)
CMYKcmyk(31.9%, 42%, 0%, 53.3%)
CIE-LABlab(32.56, 17.30, -26.84)
CIE-LCHlch(32.56, 31.94, 302.81°)
OKLaboklab(42.55% 0.0329 -0.0751)
OKLCHoklch(42.55% 0.082 293.7)
XYZxyz(8.8504, 7.3373, 18.3991)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514577 #6B7745
analogous
#455277 #514577 #6A4577
triadic
#514577 #775145 #457751
tetradic
#514577 #774552 #6B7745 #45776A
square
#514577 #774552 #6B7745 #45776A
split-complementary
#514577 #776A45 #527745
monochromatic
#1C182A #372F50 #514577 #6B5B9E #8D81B6

Accessibility & contrast

On white

8.51
#514577 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#514577 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514577
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514577#FFFFFF#000000##FFFFFF
##5145771.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364D79
Deuteranopia (green-blind)
#384C76
Tritanopia (blue-blind)
#494E58
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #514577;
/* rgb */ color: rgb(81, 69, 119);
/* oklch */ color: oklch(42.5% 0.082 293.7);
Tailwind
colors: {
  custom: {
    50: '#83789e',
    500: '#514577',
    950: '#000000',
  },
}
SCSS
$custom: #514577;
$custom-light: #83789e;
$custom-dark: #000000;
JSON
{
  "hex": "#514577",
  "rgb": {
    "r": 81,
    "g": 69,
    "b": 119
  },
  "hsl": {
    "h": 254.4,
    "s": 26.596,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4255,
    "c": 0.082,
    "h": 293.7
  },
  "luminance": 0.07337
}

Semantic roles & 50–950 ramp

primary
#514577
secondary
#97A176
accent
#C365AC
background
#F8F7F9
surface
#EFEDF2
border
#CAC8CC
text
#0B090E
muted
#7C7B7E

Preview Lab

Preview with #514577

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

Preview Lab → · Contrast checker → · Palette generator →

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