#514683#514683

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

Color values

HEX#514683
RGBrgb(81, 70, 131)
HSLhsl(251, 30%, 39%)
HSVhsv(251, 47%, 51%)
CMYKcmyk(38.2%, 46.6%, 0%, 48.6%)
CIE-LABlab(33.50, 20.15, -32.83)
CIE-LCHlch(33.50, 38.52, 301.54°)
OKLaboklab(43.47% 0.0336 -0.0925)
OKLCHoklch(43.47% 0.098 290)
XYZxyz(9.6791, 7.7681, 22.4577)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514683 #788346
analogous
#465A83 #514683 #704683
triadic
#514683 #835146 #468351
tetradic
#514683 #83465A #788346 #468370
square
#514683 #83465A #788346 #468370
split-complementary
#514683 #837046 #5A8346
monochromatic
#201B33 #38315B #514683 #6B5DA9 #9085BE

Accessibility & contrast

On white

8.22
#514683 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#514683 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514683
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514683#FFFFFF#000000##FFFFFF
##5146831.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #514683;
/* rgb */ color: rgb(81, 70, 131);
/* oklch */ color: oklch(43.5% 0.098 290.0);
Tailwind
colors: {
  custom: {
    50: '#8479a7',
    500: '#514683',
    950: '#000000',
  },
}
SCSS
$custom: #514683;
$custom-light: #8479a7;
$custom-dark: #000000;
JSON
{
  "hex": "#514683",
  "rgb": {
    "r": 81,
    "g": 70,
    "b": 131
  },
  "hsl": {
    "h": 250.82,
    "s": 30.348,
    "l": 39.412
  },
  "oklch": {
    "l": 0.43472,
    "c": 0.09847,
    "h": 290
  },
  "luminance": 0.07768
}

Semantic roles & 50–950 ramp

primary
#514683
secondary
#A1A97B
accent
#C761B4
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B090F
muted
#7C7B7F

Preview Lab

Preview with #514683

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

Preview Lab → · Contrast checker → · Palette generator →

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