#4A136B#4A136B

#4A136B is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.9% C 0.143 H 308.7°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#4A136B
RGBrgb(74, 19, 107)
HSLhsl(278, 70%, 25%)
HSVhsv(278, 82%, 42%)
CMYKcmyk(30.8%, 82.2%, 0%, 58%)
CIE-LABlab(19.98, 40.76, -39.35)
CIE-LCHlch(19.98, 56.65, 316.00°)
OKLaboklab(32.86% 0.0895 -0.1118)
OKLCHoklch(32.86% 0.143 308.7)
XYZxyz(5.7102, 2.9832, 14.1821)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A136B #346B13
analogous
#1E136B #4A136B #6B1360
triadic
#4A136B #6B4A13 #136B4A
tetradic
#4A136B #6B1E13 #346B13 #13606B
square
#4A136B #6B1E13 #346B13 #13606B
split-complementary
#4A136B #606B13 #136B1E
monochromatic
#12051A #260A37 #4A136B #6E1C9F #9225D3

Accessibility & contrast

On white

13.15
#4A136B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#4A136B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A136B
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A136B#FFFFFF#000000##FFFFFF
##4A136B1.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6D
Deuteranopia (green-blind)
#003169
Tritanopia (blue-blind)
#45293F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4a136b;
/* rgb */ color: rgb(74, 19, 107);
/* oklch */ color: oklch(32.9% 0.143 308.7);
Tailwind
colors: {
  custom: {
    50: '#815896',
    500: '#4a136b',
    950: '#000000',
  },
}
SCSS
$custom: #4a136b;
$custom-light: #815896;
$custom-dark: #000000;
JSON
{
  "hex": "#4a136b",
  "rgb": {
    "r": 74,
    "g": 19,
    "b": 107
  },
  "hsl": {
    "h": 277.5,
    "s": 69.841,
    "l": 24.706
  },
  "oklch": {
    "l": 0.32859,
    "c": 0.14321,
    "h": 308.7
  },
  "luminance": 0.02983
}

Semantic roles & 50–950 ramp

primary
#4A136B
secondary
#60A238
accent
#ED3B7E
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4A136B

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

Preview Lab → · Contrast checker → · Palette generator →

#4A136B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva