#514481#514481

#514481 is a dark, moderate violet. Relative luminance 0.075; OKLCH L 42.9% C 0.099 H 291.5°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#514481
RGBrgb(81, 68, 129)
HSLhsl(253, 31%, 39%)
HSVhsv(253, 47%, 51%)
CMYKcmyk(37.2%, 47.3%, 0%, 49.4%)
CIE-LABlab(32.85, 20.84, -32.62)
CIE-LCHlch(32.85, 38.71, 302.58°)
OKLaboklab(42.95% 0.0362 -0.0919)
OKLCHoklch(42.95% 0.099 291.5)
XYZxyz(9.4219, 7.4683, 21.7097)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514481 #748144
analogous
#445581 #514481 #6F4481
triadic
#514481 #815144 #448151
tetradic
#514481 #814455 #748144 #44816F
square
#514481 #814455 #748144 #44816F
split-complementary
#514481 #816F44 #558144
monochromatic
#1F1A31 #382F59 #514481 #6B5AA8 #8F82BD

Accessibility & contrast

On white

8.42
#514481 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#514481 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514481
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514481#FFFFFF#000000##FFFFFF
##5144811.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #514481;
/* rgb */ color: rgb(81, 68, 129);
/* oklch */ color: oklch(42.9% 0.099 291.5);
Tailwind
colors: {
  custom: {
    50: '#8478a6',
    500: '#514481',
    950: '#000000',
  },
}
SCSS
$custom: #514481;
$custom-light: #8478a6;
$custom-dark: #000000;
JSON
{
  "hex": "#514481",
  "rgb": {
    "r": 81,
    "g": 68,
    "b": 129
  },
  "hsl": {
    "h": 252.787,
    "s": 30.964,
    "l": 38.627
  },
  "oklch": {
    "l": 0.42948,
    "c": 0.09879,
    "h": 291.5
  },
  "luminance": 0.07469
}

Semantic roles & 50–950 ramp

primary
#514481
secondary
#9EA878
accent
#C761B1
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B090F
muted
#7C7B7F

Preview Lab

Preview with #514481

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

Preview Lab → · Contrast checker → · Palette generator →

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