#51357A#51357A

#51357A is a dark, moderate violet. Relative luminance 0.057; OKLCH L 39.7% C 0.114 H 300.0°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#51357A
RGBrgb(81, 53, 122)
HSLhsl(264, 39%, 34%)
HSVhsv(264, 57%, 48%)
CMYKcmyk(33.6%, 56.6%, 0%, 52.2%)
CIE-LABlab(28.64, 28.31, -34.94)
CIE-LCHlch(28.64, 44.97, 309.01°)
OKLaboklab(39.67% 0.0569 -0.0987)
OKLCHoklch(39.67% 0.114 300)
XYZxyz(8.1785, 5.7006, 19.0780)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51357A #5E7A35
analogous
#353B7A #51357A #74357A
triadic
#51357A #7A5135 #357A51
tetradic
#51357A #7A353B #5E7A35 #357A74
square
#51357A #7A353B #5E7A35 #357A74
split-complementary
#51357A #7A7435 #3B7A35
monochromatic
#181025 #35224F #51357A #6D48A5 #8D6BBF

Accessibility & contrast

On white

9.81
#51357A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#51357A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51357A
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51357A#FFFFFF#000000##FFFFFF
##51357A1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A437C
Deuteranopia (green-blind)
#234378
Tritanopia (blue-blind)
#494352
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #51357a;
/* rgb */ color: rgb(81, 53, 122);
/* oklch */ color: oklch(39.7% 0.114 300.0);
Tailwind
colors: {
  custom: {
    50: '#846da1',
    500: '#51357a',
    950: '#000000',
  },
}
SCSS
$custom: #51357a;
$custom-light: #846da1;
$custom-dark: #000000;
JSON
{
  "hex": "#51357a",
  "rgb": {
    "r": 81,
    "g": 53,
    "b": 122
  },
  "hsl": {
    "h": 264.348,
    "s": 39.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.39671,
    "c": 0.11397,
    "h": 300
  },
  "luminance": 0.05701
}

Semantic roles & 50–950 ramp

primary
#51357A
secondary
#8CA764
accent
#CF589F
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B070F
muted
#7C7A7E

Preview Lab

Preview with #51357A

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

Preview Lab → · Contrast checker → · Palette generator →

#51357A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva