#50366F#50366F

#50366F is a dark, moderate violet. Relative luminance 0.055; OKLCH L 39.0% C 0.097 H 303.3°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#50366F
RGBrgb(80, 54, 111)
HSLhsl(267, 35%, 32%)
HSVhsv(267, 51%, 44%)
CMYKcmyk(27.9%, 51.4%, 0%, 56.5%)
CIE-LABlab(28.09, 24.37, -28.86)
CIE-LCHlch(28.09, 37.77, 310.18°)
OKLaboklab(39.01% 0.0531 -0.081)
OKLCHoklch(39.01% 0.097 303.3)
XYZxyz(7.4960, 5.4915, 15.7009)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50366F #556F36
analogous
#36396F #50366F #6C366F
triadic
#50366F #6F5036 #366F50
tetradic
#50366F #6F3639 #556F36 #366F6C
square
#50366F #6F3639 #556F36 #366F6C
split-complementary
#50366F #6F6C36 #396F36
monochromatic
#150E1D #322246 #50366F #6E4A98 #8C69B6

Accessibility & contrast

On white

10.01
#50366F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#50366F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50366F
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50366F#FFFFFF#000000##FFFFFF
##50366F1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254271
Deuteranopia (green-blind)
#2C426E
Tritanopia (blue-blind)
#4B404D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #50366f;
/* rgb */ color: rgb(80, 54, 111);
/* oklch */ color: oklch(39.0% 0.097 303.3);
Tailwind
colors: {
  custom: {
    50: '#836e98',
    500: '#50366f',
    950: '#000000',
  },
}
SCSS
$custom: #50366f;
$custom-light: #836e98;
$custom-dark: #000000;
JSON
{
  "hex": "#50366f",
  "rgb": {
    "r": 80,
    "g": 54,
    "b": 111
  },
  "hsl": {
    "h": 267.368,
    "s": 34.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.39014,
    "c": 0.09684,
    "h": 303.3
  },
  "luminance": 0.05492
}

Semantic roles & 50–950 ramp

primary
#50366F
secondary
#839F62
accent
#CB5D99
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B070E
muted
#7C7A7E

Preview Lab

Preview with #50366F

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

Preview Lab → · Contrast checker → · Palette generator →

#50366F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva