#514575#514575

#514575 is a dark, moderate violet. Relative luminance 0.073; OKLCH L 42.4% C 0.079 H 294.3°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#514575
RGBrgb(81, 69, 117)
HSLhsl(255, 26%, 36%)
HSVhsv(255, 41%, 46%)
CMYKcmyk(30.8%, 41%, 0%, 54.1%)
CIE-LABlab(32.46, 16.74, -25.76)
CIE-LCHlch(32.46, 30.72, 303.02°)
OKLaboklab(42.44% 0.0325 -0.0719)
OKLCHoklch(42.44% 0.079 294.3)
XYZxyz(8.7316, 7.2898, 17.7732)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514575 #697545
analogous
#455175 #514575 #694575
triadic
#514575 #755145 #457551
tetradic
#514575 #754551 #697545 #457569
square
#514575 #754551 #697545 #457569
split-complementary
#514575 #756945 #517545
monochromatic
#1C1828 #362E4F #514575 #6C5C9B #8D80B4

Accessibility & contrast

On white

8.54
#514575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#514575 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514575
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514575#FFFFFF#000000##FFFFFF
##5145751.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374D77
Deuteranopia (green-blind)
#394C74
Tritanopia (blue-blind)
#494E57
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #514575;
/* rgb */ color: rgb(81, 69, 117);
/* oklch */ color: oklch(42.4% 0.079 294.3);
Tailwind
colors: {
  custom: {
    50: '#83789d',
    500: '#514575',
    950: '#000000',
  },
}
SCSS
$custom: #514575;
$custom-light: #83789d;
$custom-dark: #000000;
JSON
{
  "hex": "#514575",
  "rgb": {
    "r": 81,
    "g": 69,
    "b": 117
  },
  "hsl": {
    "h": 255,
    "s": 25.806,
    "l": 36.471
  },
  "oklch": {
    "l": 0.42436,
    "c": 0.07893,
    "h": 294.3
  },
  "luminance": 0.0729
}

Semantic roles & 50–950 ramp

primary
#514575
secondary
#95A076
accent
#C266AB
background
#F8F7F9
surface
#EFEDF2
border
#CAC8CC
text
#0B090E
muted
#7C7B7E

Preview Lab

Preview with #514575

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

Preview Lab → · Contrast checker → · Palette generator →

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