#4A136F#4A136F

#4A136F is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.2% C 0.147 H 306.9°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#4A136F
RGBrgb(74, 19, 111)
HSLhsl(276, 71%, 25%)
HSVhsv(276, 83%, 44%)
CMYKcmyk(33.3%, 82.9%, 0%, 56.5%)
CIE-LABlab(20.32, 41.71, -41.39)
CIE-LCHlch(20.32, 58.76, 315.22°)
OKLaboklab(33.21% 0.0885 -0.1178)
OKLCHoklch(33.21% 0.147 306.9)
XYZxyz(5.9255, 3.0694, 15.3161)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A136F #386F13
analogous
#1C136F #4A136F #6F1366
triadic
#4A136F #6F4A13 #136F4A
tetradic
#4A136F #6F1C13 #386F13 #13666F
square
#4A136F #6F1C13 #386F13 #13666F
split-complementary
#4A136F #666F13 #136F1C
monochromatic
#11041A #270A3B #4A136F #6D1CA3 #9025D8

Accessibility & contrast

On white

13.01
#4A136F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#4A136F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A136F
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A136F#FFFFFF#000000##FFFFFF
##4A136F1.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F71
Deuteranopia (green-blind)
#00316D
Tritanopia (blue-blind)
#442B41
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4a136f;
/* rgb */ color: rgb(74, 19, 111);
/* oklch */ color: oklch(33.2% 0.147 306.9);
Tailwind
colors: {
  custom: {
    50: '#815899',
    500: '#4a136f',
    950: '#000000',
  },
}
SCSS
$custom: #4a136f;
$custom-light: #815899;
$custom-dark: #000000;
JSON
{
  "hex": "#4a136f",
  "rgb": {
    "r": 74,
    "g": 19,
    "b": 111
  },
  "hsl": {
    "h": 275.87,
    "s": 70.769,
    "l": 25.49
  },
  "oklch": {
    "l": 0.33206,
    "c": 0.14731,
    "h": 306.9
  },
  "luminance": 0.03069
}

Semantic roles & 50–950 ramp

primary
#4A136F
secondary
#64A638
accent
#EE3A82
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4A136F

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

Preview Lab → · Contrast checker → · Palette generator →

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