#4A146A#4A146A

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

Color values

HEX#4A146A
RGBrgb(74, 20, 106)
HSLhsl(278, 68%, 25%)
HSVhsv(278, 81%, 42%)
CMYKcmyk(30.2%, 81.1%, 0%, 58.4%)
CIE-LABlab(20.03, 40.12, -38.61)
CIE-LCHlch(20.03, 55.68, 316.10°)
OKLaboklab(32.87% 0.0888 -0.1096)
OKLCHoklch(32.87% 0.141 309)
XYZxyz(5.6752, 2.9969, 13.9124)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A146A #346A14
analogous
#1F146A #4A146A #6A145F
triadic
#4A146A #6A4A14 #146A4A
tetradic
#4A146A #6A1F14 #346A14 #145F6A
square
#4A146A #6A1F14 #346A14 #145F6A
split-complementary
#4A146A #5F6A14 #146A1F
monochromatic
#12051A #260A37 #4A146A #6E1E9D #9227D1

Accessibility & contrast

On white

13.13
#4A146A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A146A
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A146A#FFFFFF#000000##FFFFFF
##4A146A1.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a146a;
/* rgb */ color: rgb(74, 20, 106);
/* oklch */ color: oklch(32.9% 0.141 309.0);
Tailwind
colors: {
  custom: {
    50: '#805895',
    500: '#4a146a',
    950: '#000000',
  },
}
SCSS
$custom: #4a146a;
$custom-light: #805895;
$custom-dark: #000000;
JSON
{
  "hex": "#4a146a",
  "rgb": {
    "r": 74,
    "g": 20,
    "b": 106
  },
  "hsl": {
    "h": 277.674,
    "s": 68.254,
    "l": 24.706
  },
  "oklch": {
    "l": 0.32871,
    "c": 0.14109,
    "h": 309
  },
  "luminance": 0.02997
}

Semantic roles & 50–950 ramp

primary
#4A146A
secondary
#60A139
accent
#EB3D7E
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4A146A

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

Preview Lab → · Contrast checker → · Palette generator →

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