#50299F#50299F

#50299F is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.7% C 0.177 H 291.6°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#50299F
RGBrgb(80, 41, 159)
HSLhsl(260, 59%, 39%)
HSVhsv(260, 74%, 62%)
CMYKcmyk(49.7%, 74.2%, 0%, 37.6%)
CIE-LABlab(28.89, 45.34, -57.45)
CIE-LCHlch(28.89, 73.19, 308.28°)
OKLaboklab(40.72% 0.0653 -0.1649)
OKLCHoklch(40.72% 0.177 291.6)
XYZxyz(10.3574, 5.7942, 33.3668)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50299F #789F29
analogous
#293D9F #50299F #8B299F
triadic
#50299F #9F5029 #299F50
tetradic
#50299F #9F293D #789F29 #299F8B
square
#50299F #9F293D #789F29 #299F8B
split-complementary
#50299F #9F8B29 #3D9F29
monochromatic
#1F103E #381C6E #50299F #6A39CC #8E6AD9

Accessibility & contrast

On white

9.73
#50299F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#50299F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50299F
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50299F#FFFFFF#000000##FFFFFF
##50299F1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#00429D
Tritanopia (blue-blind)
#364862
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #50299f;
/* rgb */ color: rgb(80, 41, 159);
/* oklch */ color: oklch(40.7% 0.177 291.6);
Tailwind
colors: {
  custom: {
    50: '#8967bc',
    500: '#50299f',
    950: '#000000',
  },
}
SCSS
$custom: #50299f;
$custom-light: #8967bc;
$custom-dark: #000000;
JSON
{
  "hex": "#50299f",
  "rgb": {
    "r": 80,
    "g": 41,
    "b": 159
  },
  "hsl": {
    "h": 259.831,
    "s": 59,
    "l": 39.216
  },
  "oklch": {
    "l": 0.40717,
    "c": 0.17733,
    "h": 291.6
  },
  "luminance": 0.05795
}

Semantic roles & 50–950 ramp

primary
#50299F
secondary
#A1BF65
accent
#E246AE
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #50299F

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

Preview Lab → · Contrast checker → · Palette generator →

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