#514684#514684

#514684 is a dark, moderate violet. Relative luminance 0.078; OKLCH L 43.5% C 0.100 H 289.7°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#514684
RGBrgb(81, 70, 132)
HSLhsl(251, 31%, 40%)
HSVhsv(251, 47%, 52%)
CMYKcmyk(38.6%, 47%, 0%, 48.2%)
CIE-LABlab(33.55, 20.45, -33.36)
CIE-LCHlch(33.55, 39.13, 301.51°)
OKLaboklab(43.54% 0.0338 -0.0941)
OKLCHoklch(43.54% 0.1 289.7)
XYZxyz(9.7472, 7.7953, 22.8164)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514684 #798446
analogous
#465A84 #514684 #704684
triadic
#514684 #845146 #468451
tetradic
#514684 #84465A #798446 #468470
square
#514684 #84465A #798446 #468470
split-complementary
#514684 #847046 #5A8446
monochromatic
#201C34 #38315C #514684 #6B5EA9 #9086BF

Accessibility & contrast

On white

8.21
#514684 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#514684 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514684
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514684#FFFFFF#000000##FFFFFF
##5146841.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305086
Deuteranopia (green-blind)
#314D83
Tritanopia (blue-blind)
#44525E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #514684;
/* rgb */ color: rgb(81, 70, 132);
/* oklch */ color: oklch(43.5% 0.100 289.7);
Tailwind
colors: {
  custom: {
    50: '#8479a8',
    500: '#514684',
    950: '#000000',
  },
}
SCSS
$custom: #514684;
$custom-light: #8479a8;
$custom-dark: #000000;
JSON
{
  "hex": "#514684",
  "rgb": {
    "r": 81,
    "g": 70,
    "b": 132
  },
  "hsl": {
    "h": 250.645,
    "s": 30.693,
    "l": 39.608
  },
  "oklch": {
    "l": 0.43535,
    "c": 0.09997,
    "h": 289.7
  },
  "luminance": 0.07796
}

Semantic roles & 50–950 ramp

primary
#514684
secondary
#A2AA7C
accent
#C761B5
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B090F
muted
#7C7B7F

Preview Lab

Preview with #514684

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

Preview Lab → · Contrast checker → · Palette generator →

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