#50229C#50229C

#50229C is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.6% C 0.181 H 293.4°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#50229C
RGBrgb(80, 34, 156)
HSLhsl(263, 64%, 37%)
HSVhsv(263, 78%, 61%)
CMYKcmyk(48.7%, 78.2%, 0%, 38.8%)
CIE-LABlab(27.43, 47.87, -58.00)
CIE-LCHlch(27.43, 75.21, 309.54°)
OKLaboklab(39.61% 0.072 -0.1664)
OKLCHoklch(39.61% 0.181 293.4)
XYZxyz(9.8794, 5.2495, 31.9388)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50229C #6E9C22
analogous
#22319C #50229C #8D229C
triadic
#50229C #9C5022 #229C50
tetradic
#50229C #9C2231 #6E9C22 #229C8D
square
#50229C #9C2231 #6E9C22 #229C8D
split-complementary
#50229C #9C8D22 #319C22
monochromatic
#1C0C38 #36176A #50229C #6A2DCE #8D5DDC

Accessibility & contrast

On white

10.24
#50229C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#50229C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50229C
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50229C#FFFFFF#000000##FFFFFF
##50229C1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429F
Deuteranopia (green-blind)
#003F9A
Tritanopia (blue-blind)
#38445E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #50229c;
/* rgb */ color: rgb(80, 34, 156);
/* oklch */ color: oklch(39.6% 0.181 293.4);
Tailwind
colors: {
  custom: {
    50: '#8963ba',
    500: '#50229c',
    950: '#000000',
  },
}
SCSS
$custom: #50229c;
$custom-light: #8963ba;
$custom-dark: #000000;
JSON
{
  "hex": "#50229c",
  "rgb": {
    "r": 80,
    "g": 34,
    "b": 156
  },
  "hsl": {
    "h": 262.623,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39612,
    "c": 0.18134,
    "h": 293.4
  },
  "luminance": 0.0525
}

Semantic roles & 50–950 ramp

primary
#50229C
secondary
#9AC05A
accent
#E741A8
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #50229C

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

Preview Lab → · Contrast checker → · Palette generator →

#50229C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva