#514164#514164

#514164 is a dark, moderate violet. Relative luminance 0.065; OKLCH L 40.7% C 0.061 H 304.8°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#514164
RGBrgb(81, 65, 100)
HSLhsl(267, 21%, 32%)
HSVhsv(267, 35%, 39%)
CMYKcmyk(19%, 35%, 0%, 60.8%)
CIE-LABlab(30.52, 14.73, -18.02)
CIE-LCHlch(30.52, 23.27, 309.26°)
OKLaboklab(40.68% 0.0345 -0.0497)
OKLCHoklch(40.68% 0.061 304.8)
XYZxyz(7.5834, 6.4501, 12.8996)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514164 #546441
analogous
#414264 #514164 #634164
triadic
#514164 #645141 #416451
tetradic
#514164 #644142 #546441 #416463
square
#514164 #644142 #546441 #416463
split-complementary
#514164 #646341 #426441
monochromatic
#15111A #33293F #514164 #6F5989 #8E78A7

Accessibility & contrast

On white

9.17
#514164 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#514164 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514164
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514164#FFFFFF#000000##FFFFFF
##5141641.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4765
Deuteranopia (green-blind)
#3D4863
Tritanopia (blue-blind)
#4E464E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #514164;
/* rgb */ color: rgb(81, 65, 100);
/* oklch */ color: oklch(40.7% 0.061 304.8);
Tailwind
colors: {
  custom: {
    50: '#827590',
    500: '#514164',
    950: '#000000',
  },
}
SCSS
$custom: #514164;
$custom-light: #827590;
$custom-dark: #000000;
JSON
{
  "hex": "#514164",
  "rgb": {
    "r": 81,
    "g": 65,
    "b": 100
  },
  "hsl": {
    "h": 267.429,
    "s": 21.212,
    "l": 32.353
  },
  "oklch": {
    "l": 0.40684,
    "c": 0.06051,
    "h": 304.8
  },
  "luminance": 0.0645
}

Semantic roles & 50–950 ramp

primary
#514164
secondary
#82936E
accent
#BE6A97
background
#F8F7F8
surface
#EFEDF0
border
#CAC8CB
text
#0A080C
muted
#7C7B7D

Preview Lab

Preview with #514164

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

Preview Lab → · Contrast checker → · Palette generator →

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