#514779#514779

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

Color values

HEX#514779
RGBrgb(81, 71, 121)
HSLhsl(252, 26%, 38%)
HSVhsv(252, 41%, 47%)
CMYKcmyk(33.1%, 41.3%, 0%, 52.5%)
CIE-LABlab(33.21, 16.59, -27.07)
CIE-LCHlch(33.21, 31.75, 301.50°)
OKLaboklab(43.08% 0.0303 -0.0758)
OKLCHoklch(43.08% 0.082 291.8)
XYZxyz(9.0969, 7.6361, 19.0801)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514779 #6F7947
analogous
#475679 #514779 #6A4779
triadic
#514779 #795147 #477951
tetradic
#514779 #794756 #6F7947 #47796A
square
#514779 #794756 #6F7947 #47796A
split-complementary
#514779 #796A47 #567947
monochromatic
#1D1A2C #373052 #514779 #6B5EA0 #8E84B7

Accessibility & contrast

On white

8.31
#514779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#514779 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514779
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514779#FFFFFF#000000##FFFFFF
##5147791.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384F7B
Deuteranopia (green-blind)
#394D78
Tritanopia (blue-blind)
#48505A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #514779;
/* rgb */ color: rgb(81, 71, 121);
/* oklch */ color: oklch(43.1% 0.082 291.8);
Tailwind
colors: {
  custom: {
    50: '#837aa0',
    500: '#514779',
    950: '#000000',
  },
}
SCSS
$custom: #514779;
$custom-light: #837aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#514779",
  "rgb": {
    "r": 81,
    "g": 71,
    "b": 121
  },
  "hsl": {
    "h": 252,
    "s": 26.042,
    "l": 37.647
  },
  "oklch": {
    "l": 0.43079,
    "c": 0.08159,
    "h": 291.8
  },
  "luminance": 0.07636
}

Semantic roles & 50–950 ramp

primary
#514779
secondary
#9AA379
accent
#C265B0
background
#F8F7F9
surface
#EFEDF2
border
#CAC8CC
text
#0B090E
muted
#7C7B7E

Preview Lab

Preview with #514779

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

Preview Lab → · Contrast checker → · Palette generator →

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