#514196#514196

#514196 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 43.8% C 0.134 H 288.3°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#514196
RGBrgb(81, 65, 150)
HSLhsl(251, 40%, 42%)
HSVhsv(251, 57%, 59%)
CMYKcmyk(46%, 56.7%, 0%, 41.2%)
CIE-LABlab(33.42, 29.07, -44.61)
CIE-LCHlch(33.42, 53.25, 303.09°)
OKLaboklab(43.8% 0.0419 -0.1271)
OKLCHoklch(43.8% 0.134 288.3)
XYZxyz(10.7871, 7.7315, 29.7722)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514196 #869641
analogous
#415C96 #514196 #7C4196
triadic
#514196 #965141 #419651
tetradic
#514196 #96415C #869641 #41967C
square
#514196 #96415C #869641 #41967C
split-complementary
#514196 #967C41 #5C9641
monochromatic
#231C41 #3A2E6B #514196 #6D5CB8 #9387CB

Accessibility & contrast

On white

8.25
#514196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #514196
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514196#FFFFFF#000000##FFFFFF
##5141961.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#115099
Deuteranopia (green-blind)
#124C94
Tritanopia (blue-blind)
#3C5465
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #514196;
/* rgb */ color: rgb(81, 65, 150);
/* oklch */ color: oklch(43.8% 0.134 288.3);
Tailwind
colors: {
  custom: {
    50: '#8776b5',
    500: '#514196',
    950: '#000000',
  },
}
SCSS
$custom: #514196;
$custom-light: #8776b5;
$custom-dark: #000000;
JSON
{
  "hex": "#514196",
  "rgb": {
    "r": 81,
    "g": 65,
    "b": 150
  },
  "hsl": {
    "h": 251.294,
    "s": 39.535,
    "l": 42.157
  },
  "oklch": {
    "l": 0.43801,
    "c": 0.13385,
    "h": 288.3
  },
  "luminance": 0.07732
}

Semantic roles & 50–950 ramp

primary
#514196
secondary
#ABB67D
accent
#CF58B9
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0811
muted
#7D7B80

Preview Lab

Preview with #514196

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

Preview Lab → · Contrast checker → · Palette generator →

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