#514299#514299

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

Color values

HEX#514299
RGBrgb(81, 66, 153)
HSLhsl(250, 40%, 43%)
HSVhsv(250, 57%, 60%)
CMYKcmyk(47.1%, 56.9%, 0%, 40%)
CIE-LABlab(33.87, 29.37, -45.71)
CIE-LCHlch(33.87, 54.33, 302.73°)
OKLaboklab(44.2% 0.0408 -0.1303)
OKLCHoklch(44.2% 0.137 287.4)
XYZxyz(11.0897, 7.9452, 31.0801)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514299 #8A9942
analogous
#425E99 #514299 #7C4299
triadic
#514299 #995142 #429951
tetradic
#514299 #99425E #8A9942 #42997C
square
#514299 #99425E #8A9942 #42997C
split-complementary
#514299 #997C42 #5E9942
monochromatic
#241D43 #3A306E #514299 #6E5EBA #9589CC

Accessibility & contrast

On white

8.11
#514299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#514299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514299
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514299#FFFFFF#000000##FFFFFF
##5142991.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F529C
Deuteranopia (green-blind)
#0E4D97
Tritanopia (blue-blind)
#3A5567
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #514299;
/* rgb */ color: rgb(81, 66, 153);
/* oklch */ color: oklch(44.2% 0.137 287.4);
Tailwind
colors: {
  custom: {
    50: '#8777b8',
    500: '#514299',
    950: '#000000',
  },
}
SCSS
$custom: #514299;
$custom-light: #8777b8;
$custom-dark: #000000;
JSON
{
  "hex": "#514299",
  "rgb": {
    "r": 81,
    "g": 66,
    "b": 153
  },
  "hsl": {
    "h": 250.345,
    "s": 39.726,
    "l": 42.941
  },
  "oklch": {
    "l": 0.44201,
    "c": 0.13656,
    "h": 287.4
  },
  "luminance": 0.07946
}

Semantic roles & 50–950 ramp

primary
#514299
secondary
#AEB780
accent
#D058BB
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0811
muted
#7D7B80

Preview Lab

Preview with #514299

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

Preview Lab → · Contrast checker → · Palette generator →

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