#514379#514379

#514379 is a dark, moderate violet. Relative luminance 0.071; OKLCH L 42.3% C 0.089 H 294.2°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#514379
RGBrgb(81, 67, 121)
HSLhsl(256, 29%, 37%)
HSVhsv(256, 45%, 47%)
CMYKcmyk(33.1%, 44.6%, 0%, 52.5%)
CIE-LABlab(32.13, 19.16, -28.77)
CIE-LCHlch(32.13, 34.57, 303.66°)
OKLaboklab(42.26% 0.0363 -0.0807)
OKLCHoklch(42.26% 0.089 294.2)
XYZxyz(8.8508, 7.1440, 18.9981)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514379 #6B7943
analogous
#435079 #514379 #6C4379
triadic
#514379 #795143 #437951
tetradic
#514379 #794350 #6B7943 #43796C
square
#514379 #794350 #6B7943 #43796C
split-complementary
#514379 #796C43 #507943
monochromatic
#1C172A #372D52 #514379 #6B59A0 #8D7FB8

Accessibility & contrast

On white

8.65
#514379 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#514379 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514379
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514379#FFFFFF#000000##FFFFFF
##5143791.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324C7B
Deuteranopia (green-blind)
#344B78
Tritanopia (blue-blind)
#484D58
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #514379;
/* rgb */ color: rgb(81, 67, 121);
/* oklch */ color: oklch(42.3% 0.089 294.2);
Tailwind
colors: {
  custom: {
    50: '#8377a0',
    500: '#514379',
    950: '#000000',
  },
}
SCSS
$custom: #514379;
$custom-light: #8377a0;
$custom-dark: #000000;
JSON
{
  "hex": "#514379",
  "rgb": {
    "r": 81,
    "g": 67,
    "b": 121
  },
  "hsl": {
    "h": 255.556,
    "s": 28.723,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42259,
    "c": 0.08851,
    "h": 294.2
  },
  "luminance": 0.07144
}

Semantic roles & 50–950 ramp

primary
#514379
secondary
#97A375
accent
#C563AC
background
#F8F7F9
surface
#EFEDF2
border
#CAC8CC
text
#0B080E
muted
#7C7B7E

Preview Lab

Preview with #514379

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

Preview Lab → · Contrast checker → · Palette generator →

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