#514488#514488

#514488 is a dark, moderate violet. Relative luminance 0.077; OKLCH L 43.4% C 0.109 H 289.9°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#514488
RGBrgb(81, 68, 136)
HSLhsl(251, 33%, 40%)
HSVhsv(251, 50%, 53%)
CMYKcmyk(40.4%, 50%, 0%, 46.7%)
CIE-LABlab(33.27, 22.92, -36.28)
CIE-LCHlch(33.27, 42.92, 302.29°)
OKLaboklab(43.4% 0.0371 -0.1026)
OKLCHoklch(43.4% 0.109 289.9)
XYZxyz(9.9032, 7.6609, 24.2447)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514488 #7B8844
analogous
#445988 #514488 #734488
triadic
#514488 #885144 #448851
tetradic
#514488 #884459 #7B8844 #448873
square
#514488 #884459 #7B8844 #448873
split-complementary
#514488 #887344 #598844
monochromatic
#201B36 #39305F #514488 #6B5CAD #9085C2

Accessibility & contrast

On white

8.29
#514488 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#514488 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514488
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514488#FFFFFF#000000##FFFFFF
##5144881.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A508A
Deuteranopia (green-blind)
#2B4D86
Tritanopia (blue-blind)
#42525F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #514488;
/* rgb */ color: rgb(81, 68, 136);
/* oklch */ color: oklch(43.4% 0.109 289.9);
Tailwind
colors: {
  custom: {
    50: '#8578ab',
    500: '#514488',
    950: '#000000',
  },
}
SCSS
$custom: #514488;
$custom-light: #8578ab;
$custom-dark: #000000;
JSON
{
  "hex": "#514488",
  "rgb": {
    "r": 81,
    "g": 68,
    "b": 136
  },
  "hsl": {
    "h": 251.471,
    "s": 33.333,
    "l": 40
  },
  "oklch": {
    "l": 0.43396,
    "c": 0.10915,
    "h": 289.9
  },
  "luminance": 0.07661
}

Semantic roles & 50–950 ramp

primary
#514488
secondary
#A3AD7B
accent
#C95EB5
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0910
muted
#7C7B7F

Preview Lab

Preview with #514488

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

Preview Lab → · Contrast checker → · Palette generator →

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