#50438E#50438E

#50438E is a dark, moderate violet. Relative luminance 0.077; OKLCH L 43.5% C 0.119 H 288.4°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#50438E
RGBrgb(80, 67, 142)
HSLhsl(250, 36%, 41%)
HSVhsv(250, 53%, 56%)
CMYKcmyk(43.7%, 52.8%, 0%, 44.3%)
CIE-LABlab(33.29, 25.12, -39.93)
CIE-LCHlch(33.29, 47.17, 302.17°)
OKLaboklab(43.51% 0.0377 -0.1134)
OKLCHoklch(43.51% 0.119 288.4)
XYZxyz(10.1965, 7.6724, 26.5296)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50438E #818E43
analogous
#435B8E #50438E #75438E
triadic
#50438E #8E5043 #438E50
tetradic
#50438E #8E435B #818E43 #438E75
square
#50438E #8E435B #818E43 #438E75
split-complementary
#50438E #8E7543 #5B8E43
monochromatic
#211C3B #392F64 #50438E #6B5CB2 #9186C6

Accessibility & contrast

On white

8.29
#50438E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#50438E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50438E
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50438E#FFFFFF#000000##FFFFFF
##50438E1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225091
Deuteranopia (green-blind)
#224C8C
Tritanopia (blue-blind)
#3E5362
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #50438e;
/* rgb */ color: rgb(80, 67, 142);
/* oklch */ color: oklch(43.5% 0.119 288.4);
Tailwind
colors: {
  custom: {
    50: '#8577af',
    500: '#50438e',
    950: '#000000',
  },
}
SCSS
$custom: #50438e;
$custom-light: #8577af;
$custom-dark: #000000;
JSON
{
  "hex": "#50438e",
  "rgb": {
    "r": 80,
    "g": 67,
    "b": 142
  },
  "hsl": {
    "h": 250.4,
    "s": 35.885,
    "l": 40.98
  },
  "oklch": {
    "l": 0.43513,
    "c": 0.11948,
    "h": 288.4
  },
  "luminance": 0.07673
}

Semantic roles & 50–950 ramp

primary
#50438E
secondary
#A8B17C
accent
#CC5CB8
background
#F8F7FA
surface
#F0EDF5
border
#CBC8CF
text
#0B0810
muted
#7C7B7F

Preview Lab

Preview with #50438E

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

Preview Lab → · Contrast checker → · Palette generator →

#50438E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva