#4A136E#4A136E

#4A136E is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.1% C 0.146 H 307.3°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#4A136E
RGBrgb(74, 19, 110)
HSLhsl(276, 71%, 25%)
HSVhsv(276, 83%, 43%)
CMYKcmyk(32.7%, 82.7%, 0%, 56.9%)
CIE-LABlab(20.23, 41.47, -40.89)
CIE-LCHlch(20.23, 58.24, 315.41°)
OKLaboklab(33.12% 0.0887 -0.1163)
OKLCHoklch(33.12% 0.146 307.3)
XYZxyz(5.8708, 3.0475, 15.0278)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A136E #376E13
analogous
#1D136E #4A136E #6E1364
triadic
#4A136E #6E4A13 #136E4A
tetradic
#4A136E #6E1D13 #376E13 #13646E
square
#4A136E #6E1D13 #376E13 #13646E
split-complementary
#4A136E #646E13 #136E1D
monochromatic
#12051A #270A3A #4A136E #6D1CA2 #9025D6

Accessibility & contrast

On white

13.05
#4A136E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A136E
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A136E#FFFFFF#000000##FFFFFF
##4A136E1.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a136e;
/* rgb */ color: rgb(74, 19, 110);
/* oklch */ color: oklch(33.1% 0.146 307.3);
Tailwind
colors: {
  custom: {
    50: '#815898',
    500: '#4a136e',
    950: '#000000',
  },
}
SCSS
$custom: #4a136e;
$custom-light: #815898;
$custom-dark: #000000;
JSON
{
  "hex": "#4a136e",
  "rgb": {
    "r": 74,
    "g": 19,
    "b": 110
  },
  "hsl": {
    "h": 276.264,
    "s": 70.543,
    "l": 25.294
  },
  "oklch": {
    "l": 0.33118,
    "c": 0.14628,
    "h": 307.3
  },
  "luminance": 0.03047
}

Semantic roles & 50–950 ramp

primary
#4A136E
secondary
#63A538
accent
#ED3A81
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4A136E

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

Preview Lab → · Contrast checker → · Palette generator →

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