#50299E#50299E

#50299E is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.6% C 0.176 H 291.8°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#50299E
RGBrgb(80, 41, 158)
HSLhsl(260, 59%, 39%)
HSVhsv(260, 74%, 62%)
CMYKcmyk(49.4%, 74.1%, 0%, 38%)
CIE-LABlab(28.80, 45.06, -56.99)
CIE-LCHlch(28.80, 72.65, 308.34°)
OKLaboklab(40.63% 0.0656 -0.1635)
OKLCHoklch(40.63% 0.176 291.8)
XYZxyz(10.2710, 5.7596, 32.9117)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50299E #779E29
analogous
#293D9E #50299E #8B299E
triadic
#50299E #9E5029 #299E50
tetradic
#50299E #9E293D #779E29 #299E8B
square
#50299E #9E293D #779E29 #299E8B
split-complementary
#50299E #9E8B29 #3D9E29
monochromatic
#1F103D #371C6D #50299E #6A39CC #8E69D8

Accessibility & contrast

On white

9.76
#50299E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#50299E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50299E
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50299E#FFFFFF#000000##FFFFFF
##50299E1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A1
Deuteranopia (green-blind)
#00419C
Tritanopia (blue-blind)
#374861
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #50299e;
/* rgb */ color: rgb(80, 41, 158);
/* oklch */ color: oklch(40.6% 0.176 291.8);
Tailwind
colors: {
  custom: {
    50: '#8967bc',
    500: '#50299e',
    950: '#000000',
  },
}
SCSS
$custom: #50299e;
$custom-light: #8967bc;
$custom-dark: #000000;
JSON
{
  "hex": "#50299e",
  "rgb": {
    "r": 80,
    "g": 41,
    "b": 158
  },
  "hsl": {
    "h": 260,
    "s": 58.794,
    "l": 39.02
  },
  "oklch": {
    "l": 0.40626,
    "c": 0.17615,
    "h": 291.8
  },
  "luminance": 0.0576
}

Semantic roles & 50–950 ramp

primary
#50299E
secondary
#A0BF64
accent
#E246AE
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #50299E

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

Preview Lab → · Contrast checker → · Palette generator →

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