#514397#514397

#514397 is a dark, vivid violet. Relative luminance 0.080; OKLCH L 44.2% C 0.132 H 287.4°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#514397
RGBrgb(81, 67, 151)
HSLhsl(250, 39%, 43%)
HSVhsv(250, 56%, 59%)
CMYKcmyk(46.4%, 55.6%, 0%, 40.8%)
CIE-LABlab(33.98, 28.13, -44.31)
CIE-LCHlch(33.98, 52.49, 302.40°)
OKLaboklab(44.24% 0.0395 -0.1262)
OKLCHoklch(44.24% 0.132 287.4)
XYZxyz(10.9848, 7.9976, 30.2370)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514397 #899743
analogous
#435F97 #514397 #7B4397
triadic
#514397 #975143 #439751
tetradic
#514397 #97435F #899743 #43977B
square
#514397 #97435F #899743 #43977B
split-complementary
#514397 #977B43 #5F9743
monochromatic
#241D42 #3A306D #514397 #6E5FB8 #948ACB

Accessibility & contrast

On white

8.08
#514397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#514397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514397
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514397#FFFFFF#000000##FFFFFF
##5143971.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16529A
Deuteranopia (green-blind)
#164E95
Tritanopia (blue-blind)
#3B5566
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #514397;
/* rgb */ color: rgb(81, 67, 151);
/* oklch */ color: oklch(44.2% 0.132 287.4);
Tailwind
colors: {
  custom: {
    50: '#8777b6',
    500: '#514397',
    950: '#000000',
  },
}
SCSS
$custom: #514397;
$custom-light: #8777b6;
$custom-dark: #000000;
JSON
{
  "hex": "#514397",
  "rgb": {
    "r": 81,
    "g": 67,
    "b": 151
  },
  "hsl": {
    "h": 250,
    "s": 38.532,
    "l": 42.745
  },
  "oklch": {
    "l": 0.44238,
    "c": 0.13227,
    "h": 287.4
  },
  "luminance": 0.07998
}

Semantic roles & 50–950 ramp

primary
#514397
secondary
#ADB680
accent
#CE59BB
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0811
muted
#7D7B80

Preview Lab

Preview with #514397

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

Preview Lab → · Contrast checker → · Palette generator →

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