#514268#514268

#514268 is a dark, moderate violet. Relative luminance 0.066; OKLCH L 41.1% C 0.065 H 301.8°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#514268
RGBrgb(81, 66, 104)
HSLhsl(264, 22%, 33%)
HSVhsv(264, 37%, 41%)
CMYKcmyk(22.1%, 36.5%, 0%, 59.2%)
CIE-LABlab(30.99, 15.13, -19.85)
CIE-LCHlch(30.99, 24.96, 307.31°)
OKLaboklab(41.1% 0.034 -0.0549)
OKLCHoklch(41.1% 0.065 301.8)
XYZxyz(7.8397, 6.6452, 13.9637)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514268 #596842
analogous
#424668 #514268 #644268
triadic
#514268 #685142 #426851
tetradic
#514268 #684246 #596842 #426864
square
#514268 #684246 #596842 #426864
split-complementary
#514268 #686442 #466842
monochromatic
#17121D #342A43 #514268 #6E5A8D #8D7AAB

Accessibility & contrast

On white

9.02
#514268 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#514268 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514268
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514268#FFFFFF#000000##FFFFFF
##5142681.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394969
Deuteranopia (green-blind)
#3C4967
Tritanopia (blue-blind)
#4D4850
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #514268;
/* rgb */ color: rgb(81, 66, 104);
/* oklch */ color: oklch(41.1% 0.065 301.8);
Tailwind
colors: {
  custom: {
    50: '#827693',
    500: '#514268',
    950: '#000000',
  },
}
SCSS
$custom: #514268;
$custom-light: #827693;
$custom-dark: #000000;
JSON
{
  "hex": "#514268",
  "rgb": {
    "r": 81,
    "g": 66,
    "b": 104
  },
  "hsl": {
    "h": 263.684,
    "s": 22.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.41101,
    "c": 0.06459,
    "h": 301.8
  },
  "luminance": 0.06645
}

Semantic roles & 50–950 ramp

primary
#514268
secondary
#87966F
accent
#BF699D
background
#F8F7F9
surface
#EFEDF1
border
#CAC8CB
text
#0A080D
muted
#7C7B7E

Preview Lab

Preview with #514268

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

Preview Lab → · Contrast checker → · Palette generator →

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