#513465#513465

#513465 is a dark, moderate violet. Relative luminance 0.051; OKLCH L 38.1% C 0.087 H 310.1°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#513465
RGBrgb(81, 52, 101)
HSLhsl(276, 32%, 30%)
HSVhsv(276, 49%, 40%)
CMYKcmyk(19.8%, 48.5%, 0%, 60.4%)
CIE-LABlab(27.14, 23.32, -23.93)
CIE-LCHlch(27.14, 33.41, 314.25°)
OKLaboklab(38.15% 0.0562 -0.0666)
OKLCHoklch(38.15% 0.087 310.1)
XYZxyz(6.9699, 5.1450, 12.9353)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513465 #486534
analogous
#383465 #513465 #653461
triadic
#513465 #655134 #346551
tetradic
#513465 #653834 #486534 #346165
square
#513465 #653834 #486534 #346165
split-complementary
#513465 #616534 #346538
monochromatic
#100A14 #311F3D #513465 #71498D #9164AF

Accessibility & contrast

On white

10.35
#513465 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#513465 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513465
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513465#FFFFFF#000000##FFFFFF
##5134651.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293F67
Deuteranopia (green-blind)
#304164
Tritanopia (blue-blind)
#4F3C47
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #513465;
/* rgb */ color: rgb(81, 52, 101);
/* oklch */ color: oklch(38.1% 0.087 310.1);
Tailwind
colors: {
  custom: {
    50: '#836c91',
    500: '#513465',
    950: '#000000',
  },
}
SCSS
$custom: #513465;
$custom-light: #836c91;
$custom-dark: #000000;
JSON
{
  "hex": "#513465",
  "rgb": {
    "r": 81,
    "g": 52,
    "b": 101
  },
  "hsl": {
    "h": 275.51,
    "s": 32.026,
    "l": 30
  },
  "oklch": {
    "l": 0.38148,
    "c": 0.08714,
    "h": 310.1
  },
  "luminance": 0.05145
}

Semantic roles & 50–950 ramp

primary
#513465
secondary
#75965F
accent
#C8608A
background
#F8F6F8
surface
#EFEBF0
border
#CAC6CB
text
#0B070C
muted
#7C7A7D

Preview Lab

Preview with #513465

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

Preview Lab → · Contrast checker → · Palette generator →

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