#514482#514482

#514482 is a dark, moderate violet. Relative luminance 0.075; OKLCH L 43.0% C 0.100 H 291.2°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#514482
RGBrgb(81, 68, 130)
HSLhsl(253, 31%, 39%)
HSVhsv(253, 48%, 51%)
CMYKcmyk(37.7%, 47.7%, 0%, 49%)
CIE-LABlab(32.91, 21.14, -33.14)
CIE-LCHlch(32.91, 39.31, 302.53°)
OKLaboklab(43.01% 0.0363 -0.0935)
OKLCHoklch(43.01% 0.1 291.2)
XYZxyz(9.4887, 7.4950, 22.0615)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514482 #758244
analogous
#445682 #514482 #704482
triadic
#514482 #825144 #448251
tetradic
#514482 #824456 #758244 #448270
square
#514482 #824456 #758244 #448270
split-complementary
#514482 #827044 #568244
monochromatic
#1F1A32 #382F5A #514482 #6B5AA9 #8F83BE

Accessibility & contrast

On white

8.40
#514482 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#514482 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514482
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514482#FFFFFF#000000##FFFFFF
##5144821.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4E84
Deuteranopia (green-blind)
#304C81
Tritanopia (blue-blind)
#45505C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #514482;
/* rgb */ color: rgb(81, 68, 130);
/* oklch */ color: oklch(43.0% 0.100 291.2);
Tailwind
colors: {
  custom: {
    50: '#8478a7',
    500: '#514482',
    950: '#000000',
  },
}
SCSS
$custom: #514482;
$custom-light: #8478a7;
$custom-dark: #000000;
JSON
{
  "hex": "#514482",
  "rgb": {
    "r": 81,
    "g": 68,
    "b": 130
  },
  "hsl": {
    "h": 252.581,
    "s": 31.313,
    "l": 38.824
  },
  "oklch": {
    "l": 0.43011,
    "c": 0.10028,
    "h": 291.2
  },
  "luminance": 0.07495
}

Semantic roles & 50–950 ramp

primary
#514482
secondary
#9FA979
accent
#C860B2
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B090F
muted
#7C7B7F

Preview Lab

Preview with #514482

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

Preview Lab → · Contrast checker → · Palette generator →

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