#514293#514293

#514293 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 43.8% C 0.128 H 288.5°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#514293
RGBrgb(81, 66, 147)
HSLhsl(251, 38%, 42%)
HSVhsv(251, 55%, 58%)
CMYKcmyk(44.9%, 55.1%, 0%, 42.4%)
CIE-LABlab(33.46, 27.53, -42.71)
CIE-LCHlch(33.46, 50.81, 302.80°)
OKLaboklab(43.77% 0.0406 -0.1215)
OKLCHoklch(43.77% 0.128 288.5)
XYZxyz(10.6065, 7.7520, 28.5355)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514293 #849342
analogous
#425C93 #514293 #7A4293
triadic
#514293 #935142 #429351
tetradic
#514293 #93425C #849342 #42937A
square
#514293 #93425C #849342 #42937A
split-complementary
#514293 #937A42 #5C9342
monochromatic
#221C3F #3A2F69 #514293 #6D5CB6 #9387C9

Accessibility & contrast

On white

8.23
#514293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#514293 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514293
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514293#FFFFFF#000000##FFFFFF
##5142931.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5096
Deuteranopia (green-blind)
#1A4D91
Tritanopia (blue-blind)
#3D5364
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #514293;
/* rgb */ color: rgb(81, 66, 147);
/* oklch */ color: oklch(43.8% 0.128 288.5);
Tailwind
colors: {
  custom: {
    50: '#8677b3',
    500: '#514293',
    950: '#000000',
  },
}
SCSS
$custom: #514293;
$custom-light: #8677b3;
$custom-dark: #000000;
JSON
{
  "hex": "#514293",
  "rgb": {
    "r": 81,
    "g": 66,
    "b": 147
  },
  "hsl": {
    "h": 251.111,
    "s": 38.028,
    "l": 41.765
  },
  "oklch": {
    "l": 0.43768,
    "c": 0.12813,
    "h": 288.5
  },
  "luminance": 0.07752
}

Semantic roles & 50–950 ramp

primary
#514293
secondary
#AAB47D
accent
#CE5AB8
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0811
muted
#7D7B80

Preview Lab

Preview with #514293

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

Preview Lab → · Contrast checker → · Palette generator →

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