#49157C#49157C

#49157C is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.4% C 0.159 H 300.9°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#49157C
RGBrgb(73, 21, 124)
HSLhsl(270, 71%, 28%)
HSVhsv(270, 83%, 49%)
CMYKcmyk(41.1%, 83.1%, 0%, 51.4%)
CIE-LABlab(21.61, 43.95, -47.64)
CIE-LCHlch(21.61, 64.82, 312.69°)
OKLaboklab(34.44% 0.0814 -0.1362)
OKLCHoklch(34.44% 0.159 300.9)
XYZxyz(6.6530, 3.4080, 19.3722)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#49157C #487C15
analogous
#15157C #49157C #7C157B
triadic
#49157C #7C4915 #157C49
tetradic
#49157C #7C1515 #487C15 #157B7C
square
#49157C #7C1515 #487C15 #157B7C
split-complementary
#49157C #7B7C15 #157C15
monochromatic
#0F041A #2A0C48 #49157C #681EB0 #8730DC

Accessibility & contrast

On white

12.49
#49157C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#49157C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #49157C
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##49157C#FFFFFF#000000##FFFFFF
##49157C1.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337F
Deuteranopia (green-blind)
#00337A
Tritanopia (blue-blind)
#3D3249
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #49157c;
/* rgb */ color: rgb(73, 21, 124);
/* oklch */ color: oklch(34.4% 0.159 300.9);
Tailwind
colors: {
  custom: {
    50: '#825aa3',
    500: '#49157c',
    950: '#000000',
  },
}
SCSS
$custom: #49157c;
$custom-light: #825aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#49157c",
  "rgb": {
    "r": 73,
    "g": 21,
    "b": 124
  },
  "hsl": {
    "h": 270.291,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.34435,
    "c": 0.15864,
    "h": 300.9
  },
  "luminance": 0.03408
}

Semantic roles & 50–950 ramp

primary
#49157C
secondary
#76B13C
accent
#EE3A93
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #49157C

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

Preview Lab → · Contrast checker → · Palette generator →

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