#514392#514392

#514392 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 43.9% C 0.125 H 288.3°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#514392
RGBrgb(81, 67, 146)
HSLhsl(251, 37%, 42%)
HSVhsv(251, 54%, 57%)
CMYKcmyk(44.5%, 54.1%, 0%, 42.7%)
CIE-LABlab(33.64, 26.59, -41.81)
CIE-LCHlch(33.64, 49.55, 302.46°)
OKLaboklab(43.88% 0.0393 -0.1189)
OKLCHoklch(43.88% 0.125 288.3)
XYZxyz(10.5873, 7.8386, 28.1437)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514392 #849243
analogous
#435D92 #514392 #794392
triadic
#514392 #925143 #439251
tetradic
#514392 #92435D #849243 #439279
square
#514392 #92435D #849243 #439279
split-complementary
#514392 #927943 #5D9243
monochromatic
#221C3E #3A3068 #514392 #6D5DB5 #9387C8

Accessibility & contrast

On white

8.18
#514392 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#514392 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514392
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514392#FFFFFF#000000##FFFFFF
##5143921.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5195
Deuteranopia (green-blind)
#1E4D90
Tritanopia (blue-blind)
#3E5464
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #514392;
/* rgb */ color: rgb(81, 67, 146);
/* oklch */ color: oklch(43.9% 0.125 288.3);
Tailwind
colors: {
  custom: {
    50: '#8677b2',
    500: '#514392',
    950: '#000000',
  },
}
SCSS
$custom: #514392;
$custom-light: #8677b2;
$custom-dark: #000000;
JSON
{
  "hex": "#514392",
  "rgb": {
    "r": 81,
    "g": 67,
    "b": 146
  },
  "hsl": {
    "h": 250.633,
    "s": 37.089,
    "l": 41.765
  },
  "oklch": {
    "l": 0.43883,
    "c": 0.12519,
    "h": 288.3
  },
  "luminance": 0.07839
}

Semantic roles & 50–950 ramp

primary
#514392
secondary
#AAB37E
accent
#CD5BB9
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0811
muted
#7C7B80

Preview Lab

Preview with #514392

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

Preview Lab → · Contrast checker → · Palette generator →

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