#4A136A#4A136A

#4A136A is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.8% C 0.142 H 309.1°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#4A136A
RGBrgb(74, 19, 106)
HSLhsl(278, 70%, 25%)
HSVhsv(278, 82%, 42%)
CMYKcmyk(30.2%, 82.1%, 0%, 58.4%)
CIE-LABlab(19.89, 40.52, -38.84)
CIE-LCHlch(19.89, 56.13, 316.21°)
OKLaboklab(32.77% 0.0898 -0.1103)
OKLCHoklch(32.77% 0.142 309.1)
XYZxyz(5.6579, 2.9623, 13.9066)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A136A #336A13
analogous
#1F136A #4A136A #6A135F
triadic
#4A136A #6A4A13 #136A4A
tetradic
#4A136A #6A1F13 #336A13 #135F6A
square
#4A136A #6A1F13 #336A13 #135F6A
split-complementary
#4A136A #5F6A13 #136A1F
monochromatic
#12051A #260A36 #4A136A #6E1C9E #9226D2

Accessibility & contrast

On white

13.19
#4A136A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#4A136A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A136A
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A136A#FFFFFF#000000##FFFFFF
##4A136A1.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6C
Deuteranopia (green-blind)
#003168
Tritanopia (blue-blind)
#45293E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4a136a;
/* rgb */ color: rgb(74, 19, 106);
/* oklch */ color: oklch(32.8% 0.142 309.1);
Tailwind
colors: {
  custom: {
    50: '#805895',
    500: '#4a136a',
    950: '#000000',
  },
}
SCSS
$custom: #4a136a;
$custom-light: #805895;
$custom-dark: #000000;
JSON
{
  "hex": "#4a136a",
  "rgb": {
    "r": 74,
    "g": 19,
    "b": 106
  },
  "hsl": {
    "h": 277.931,
    "s": 69.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.32773,
    "c": 0.14219,
    "h": 309.1
  },
  "luminance": 0.02962
}

Semantic roles & 50–950 ramp

primary
#4A136A
secondary
#5EA138
accent
#EC3B7D
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4A136A

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

Preview Lab → · Contrast checker → · Palette generator →

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