#514A67#514A67

#514A67 is a dark, muted violet. Relative luminance 0.076; OKLCH L 42.8% C 0.048 H 295.4°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#514A67
RGBrgb(81, 74, 103)
HSLhsl(254, 16%, 35%)
HSVhsv(254, 28%, 40%)
CMYKcmyk(21.4%, 28.2%, 0%, 59.6%)
CIE-LABlab(33.19, 9.70, -15.81)
CIE-LCHlch(33.19, 18.55, 301.55°)
OKLaboklab(42.78% 0.0206 -0.0434)
OKLCHoklch(42.78% 0.048 295.4)
XYZxyz(8.2898, 7.6261, 13.8646)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514A67 #60674A
analogous
#4A5267 #514A67 #604A67
triadic
#514A67 #67514A #4A6751
tetradic
#514A67 #674A52 #60674A #4A6760
square
#514A67 #674A52 #60674A #4A6760
split-complementary
#514A67 #67604A #52674A
monochromatic
#191720 #353043 #514A67 #6D648B #8D84A7

Accessibility & contrast

On white

8.32
#514A67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#514A67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514A67
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514A67#FFFFFF#000000##FFFFFF
##514A671.008.322.538.32
#FFFFFF8.321.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434E68
Deuteranopia (green-blind)
#444E66
Tritanopia (blue-blind)
#4D4F54
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #514a67;
/* rgb */ color: rgb(81, 74, 103);
/* oklch */ color: oklch(42.8% 0.048 295.4);
Tailwind
colors: {
  custom: {
    50: '#827c92',
    500: '#514a67',
    950: '#000000',
  },
}
SCSS
$custom: #514a67;
$custom-light: #827c92;
$custom-dark: #000000;
JSON
{
  "hex": "#514a67",
  "rgb": {
    "r": 81,
    "g": 74,
    "b": 103
  },
  "hsl": {
    "h": 254.483,
    "s": 16.384,
    "l": 34.706
  },
  "oklch": {
    "l": 0.42779,
    "c": 0.04806,
    "h": 295.4
  },
  "luminance": 0.07626
}

Semantic roles & 50–950 ramp

primary
#514A67
secondary
#8E9479
accent
#B96FA7
background
#F7F7F9
surface
#EEEEF1
border
#C9C9CB
text
#0A090D
muted
#7C7B7E

Preview Lab

Preview with #514A67

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

Preview Lab → · Contrast checker → · Palette generator →

#514A67 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva