#514B6C#514B6C

#514B6C is a dark, muted violet. Relative luminance 0.079; OKLCH L 43.2% C 0.054 H 292.3°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#514B6C
RGBrgb(81, 75, 108)
HSLhsl(251, 18%, 36%)
HSVhsv(251, 31%, 42%)
CMYKcmyk(25%, 30.6%, 0%, 57.6%)
CIE-LABlab(33.70, 10.39, -18.17)
CIE-LCHlch(33.70, 20.93, 299.75°)
OKLaboklab(43.24% 0.0206 -0.0502)
OKLCHoklch(43.24% 0.054 292.3)
XYZxyz(8.6155, 7.8641, 15.2485)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514B6C #666C4B
analogous
#4B556C #514B6C #614B6C
triadic
#514B6C #6C514B #4B6C51
tetradic
#514B6C #6C4B55 #666C4B #4B6C61
square
#514B6C #6C4B55 #666C4B #4B6C61
split-complementary
#514B6C #6C614B #556C4B
monochromatic
#1B1924 #363248 #514B6C #6C6490 #8D86AB

Accessibility & contrast

On white

8.16
#514B6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#514B6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514B6C
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514B6C#FFFFFF#000000##FFFFFF
##514B6C1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43506D
Deuteranopia (green-blind)
#434F6B
Tritanopia (blue-blind)
#4B5057
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #514b6c;
/* rgb */ color: rgb(81, 75, 108);
/* oklch */ color: oklch(43.2% 0.054 292.3);
Tailwind
colors: {
  custom: {
    50: '#827d96',
    500: '#514b6c',
    950: '#000000',
  },
}
SCSS
$custom: #514b6c;
$custom-light: #827d96;
$custom-dark: #000000;
JSON
{
  "hex": "#514b6c",
  "rgb": {
    "r": 81,
    "g": 75,
    "b": 108
  },
  "hsl": {
    "h": 250.909,
    "s": 18.033,
    "l": 35.882
  },
  "oklch": {
    "l": 0.43242,
    "c": 0.05423,
    "h": 292.3
  },
  "luminance": 0.07864
}

Semantic roles & 50–950 ramp

primary
#514B6C
secondary
#93987B
accent
#BB6DAD
background
#F8F7F9
surface
#EFEEF2
border
#CAC9CC
text
#0A090D
muted
#7C7B7E

Preview Lab

Preview with #514B6C

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

Preview Lab → · Contrast checker → · Palette generator →

#514B6C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva