#49236D#49236D

#49236D is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.8% C 0.124 H 304.3°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#49236D
RGBrgb(73, 35, 109)
HSLhsl(271, 51%, 28%)
HSVhsv(271, 68%, 43%)
CMYKcmyk(33%, 67.9%, 0%, 57.3%)
CIE-LABlab(22.73, 33.33, -36.20)
CIE-LCHlch(22.73, 49.20, 312.64°)
OKLaboklab(34.84% 0.07 -0.1026)
OKLCHoklch(34.84% 0.124 304.3)
XYZxyz(6.1084, 3.7227, 14.8618)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#49236D #476D23
analogous
#24236D #49236D #6D236C
triadic
#49236D #6D4923 #236D49
tetradic
#49236D #6D2423 #476D23 #236C6D
square
#49236D #6D2423 #476D23 #236C6D
split-complementary
#49236D #6C6D23 #236D24
monochromatic
#100717 #2A143F #49236D #68329B #8747C4

Accessibility & contrast

On white

12.04
#49236D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#49236D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #49236D
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##49236D#FFFFFF#000000##FFFFFF
##49236D1.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356F
Deuteranopia (green-blind)
#0D366B
Tritanopia (blue-blind)
#423344
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #49236d;
/* rgb */ color: rgb(73, 35, 109);
/* oklch */ color: oklch(34.8% 0.124 304.3);
Tailwind
colors: {
  custom: {
    50: '#7f6097',
    500: '#49236d',
    950: '#000000',
  },
}
SCSS
$custom: #49236d;
$custom-light: #7f6097;
$custom-dark: #000000;
JSON
{
  "hex": "#49236d",
  "rgb": {
    "r": 73,
    "g": 35,
    "b": 109
  },
  "hsl": {
    "h": 270.811,
    "s": 51.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.34839,
    "c": 0.12421,
    "h": 304.3
  },
  "luminance": 0.03723
}

Semantic roles & 50–950 ramp

primary
#49236D
secondary
#75A04B
accent
#DB4D92
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050D
muted
#7C797E

Preview Lab

Preview with #49236D

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

Preview Lab → · Contrast checker → · Palette generator →

#49236D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva