#514568#514568

#514568 is a dark, muted violet. Relative luminance 0.070; OKLCH L 41.7% C 0.059 H 299.6°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#514568
RGBrgb(81, 69, 104)
HSLhsl(261, 20%, 34%)
HSVhsv(261, 34%, 41%)
CMYKcmyk(22.1%, 33.7%, 0%, 59.2%)
CIE-LABlab(31.82, 13.19, -18.56)
CIE-LCHlch(31.82, 22.77, 305.40°)
OKLaboklab(41.74% 0.0291 -0.0512)
OKLCHoklch(41.74% 0.059 299.6)
XYZxyz(8.0196, 7.0050, 14.0236)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514568 #5C6845
analogous
#454B68 #514568 #634568
triadic
#514568 #685145 #456851
tetradic
#514568 #68454B #5C6845 #456863
square
#514568 #68454B #5C6845 #456863
split-complementary
#514568 #686345 #4B6845
monochromatic
#18141E #342D43 #514568 #6E5D8D #8D7EA9

Accessibility & contrast

On white

8.75
#514568 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#514568 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514568
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514568#FFFFFF#000000##FFFFFF
##5145681.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4B69
Deuteranopia (green-blind)
#3F4B67
Tritanopia (blue-blind)
#4D4A52
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #514568;
/* rgb */ color: rgb(81, 69, 104);
/* oklch */ color: oklch(41.7% 0.059 299.6);
Tailwind
colors: {
  custom: {
    50: '#827893',
    500: '#514568',
    950: '#000000',
  },
}
SCSS
$custom: #514568;
$custom-light: #827893;
$custom-dark: #000000;
JSON
{
  "hex": "#514568",
  "rgb": {
    "r": 81,
    "g": 69,
    "b": 104
  },
  "hsl": {
    "h": 260.571,
    "s": 20.231,
    "l": 33.922
  },
  "oklch": {
    "l": 0.41738,
    "c": 0.05892,
    "h": 299.6
  },
  "luminance": 0.07005
}

Semantic roles & 50–950 ramp

primary
#514568
secondary
#8A9673
accent
#BD6BA1
background
#F8F7F9
surface
#EFEDF1
border
#CAC8CB
text
#0A090D
muted
#7C7B7E

Preview Lab

Preview with #514568

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

Preview Lab → · Contrast checker → · Palette generator →

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