#4A136C#4A136C

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

Color values

HEX#4A136C
RGBrgb(74, 19, 108)
HSLhsl(277, 70%, 25%)
HSVhsv(277, 82%, 42%)
CMYKcmyk(31.5%, 82.4%, 0%, 57.6%)
CIE-LABlab(20.06, 40.99, -39.87)
CIE-LCHlch(20.06, 57.18, 315.80°)
OKLaboklab(32.95% 0.0893 -0.1133)
OKLCHoklch(32.95% 0.144 308.2)
XYZxyz(5.7631, 3.0044, 14.4608)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A136C #356C13
analogous
#1E136C #4A136C #6C1361
triadic
#4A136C #6C4A13 #136C4A
tetradic
#4A136C #6C1E13 #356C13 #13616C
square
#4A136C #6C1E13 #356C13 #13616C
split-complementary
#4A136C #616C13 #136C1E
monochromatic
#12051A #260A38 #4A136C #6E1CA0 #9125D4

Accessibility & contrast

On white

13.12
#4A136C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A136C
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A136C#FFFFFF#000000##FFFFFF
##4A136C1.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6E
Deuteranopia (green-blind)
#00316A
Tritanopia (blue-blind)
#452A3F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4a136c;
/* rgb */ color: rgb(74, 19, 108);
/* oklch */ color: oklch(32.9% 0.144 308.2);
Tailwind
colors: {
  custom: {
    50: '#815897',
    500: '#4a136c',
    950: '#000000',
  },
}
SCSS
$custom: #4a136c;
$custom-light: #815897;
$custom-dark: #000000;
JSON
{
  "hex": "#4a136c",
  "rgb": {
    "r": 74,
    "g": 19,
    "b": 108
  },
  "hsl": {
    "h": 277.079,
    "s": 70.079,
    "l": 24.902
  },
  "oklch": {
    "l": 0.32945,
    "c": 0.14424,
    "h": 308.2
  },
  "luminance": 0.03004
}

Semantic roles & 50–950 ramp

primary
#4A136C
secondary
#61A338
accent
#ED3B7F
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4A136C

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

Preview Lab → · Contrast checker → · Palette generator →

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