#514296#514296

#514296 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.0% C 0.132 H 287.9°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#514296
RGBrgb(81, 66, 150)
HSLhsl(251, 39%, 42%)
HSVhsv(251, 56%, 59%)
CMYKcmyk(46%, 56%, 0%, 41.2%)
CIE-LABlab(33.66, 28.45, -44.21)
CIE-LCHlch(33.66, 52.58, 302.76°)
OKLaboklab(43.98% 0.0407 -0.1259)
OKLCHoklch(43.98% 0.132 287.9)
XYZxyz(10.8450, 7.8473, 29.7915)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514296 #879642
analogous
#425D96 #514296 #7B4296
triadic
#514296 #965142 #429651
tetradic
#514296 #96425D #879642 #42967B
square
#514296 #96425D #879642 #42967B
split-complementary
#514296 #967B42 #5D9642
monochromatic
#231D41 #3A2F6C #514296 #6D5DB8 #9488CB

Accessibility & contrast

On white

8.17
#514296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #514296
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514296#FFFFFF#000000##FFFFFF
##5142961.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#155199
Deuteranopia (green-blind)
#154D94
Tritanopia (blue-blind)
#3C5465
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #514296;
/* rgb */ color: rgb(81, 66, 150);
/* oklch */ color: oklch(44.0% 0.132 287.9);
Tailwind
colors: {
  custom: {
    50: '#8777b5',
    500: '#514296',
    950: '#000000',
  },
}
SCSS
$custom: #514296;
$custom-light: #8777b5;
$custom-dark: #000000;
JSON
{
  "hex": "#514296",
  "rgb": {
    "r": 81,
    "g": 66,
    "b": 150
  },
  "hsl": {
    "h": 250.714,
    "s": 38.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.43983,
    "c": 0.13235,
    "h": 287.9
  },
  "luminance": 0.07848
}

Semantic roles & 50–950 ramp

primary
#514296
secondary
#ACB57E
accent
#CF59BA
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0811
muted
#7D7B80

Preview Lab

Preview with #514296

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

Preview Lab → · Contrast checker → · Palette generator →

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