#514283#514283

#514283 is a dark, moderate violet. Relative luminance 0.073; OKLCH L 42.7% C 0.105 H 292.0°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#514283
RGBrgb(81, 66, 131)
HSLhsl(254, 33%, 39%)
HSVhsv(254, 50%, 51%)
CMYKcmyk(38.2%, 49.6%, 0%, 48.6%)
CIE-LABlab(32.45, 22.71, -34.50)
CIE-LCHlch(32.45, 41.30, 303.36°)
OKLaboklab(42.68% 0.0393 -0.0974)
OKLCHoklch(42.68% 0.105 292)
XYZxyz(9.4372, 7.2842, 22.3771)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514283 #748342
analogous
#425383 #514283 #714283
triadic
#514283 #835142 #428351
tetradic
#514283 #834253 #748342 #428371
square
#514283 #834253 #748342 #428371
split-complementary
#514283 #837142 #538342
monochromatic
#1F1932 #382D5A #514283 #6B58AB #8F80BF

Accessibility & contrast

On white

8.55
#514283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #514283
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514283#FFFFFF#000000##FFFFFF
##5142831.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4D85
Deuteranopia (green-blind)
#2C4B81
Tritanopia (blue-blind)
#444F5C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #514283;
/* rgb */ color: rgb(81, 66, 131);
/* oklch */ color: oklch(42.7% 0.105 292.0);
Tailwind
colors: {
  custom: {
    50: '#8476a7',
    500: '#514283',
    950: '#000000',
  },
}
SCSS
$custom: #514283;
$custom-light: #8476a7;
$custom-dark: #000000;
JSON
{
  "hex": "#514283",
  "rgb": {
    "r": 81,
    "g": 66,
    "b": 131
  },
  "hsl": {
    "h": 253.846,
    "s": 32.995,
    "l": 38.627
  },
  "oklch": {
    "l": 0.42682,
    "c": 0.10506,
    "h": 292
  },
  "luminance": 0.07284
}

Semantic roles & 50–950 ramp

primary
#514283
secondary
#9EAA77
accent
#C95FB1
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B080F
muted
#7C7B7F

Preview Lab

Preview with #514283

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

Preview Lab → · Contrast checker → · Palette generator →

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