#4A146F#4A146F

#4A146F is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.3% C 0.146 H 306.8°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#4A146F
RGBrgb(74, 20, 111)
HSLhsl(276, 69%, 26%)
HSVhsv(276, 82%, 44%)
CMYKcmyk(33.3%, 82%, 0%, 56.5%)
CIE-LABlab(20.46, 41.32, -41.17)
CIE-LCHlch(20.46, 58.33, 315.10°)
OKLaboklab(33.3% 0.0876 -0.1171)
OKLCHoklch(33.3% 0.146 306.8)
XYZxyz(5.9428, 3.1039, 15.3219)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A146F #396F14
analogous
#1C146F #4A146F #6F1466
triadic
#4A146F #6F4A14 #146F4A
tetradic
#4A146F #6F1C14 #396F14 #14666F
square
#4A146F #6F1C14 #396F14 #14666F
split-complementary
#4A146F #666F14 #146F1C
monochromatic
#11051A #270B3B #4A146F #6D1DA3 #8F27D7

Accessibility & contrast

On white

12.96
#4A146F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#4A146F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A146F
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A146F#FFFFFF#000000##FFFFFF
##4A146F1.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003071
Deuteranopia (green-blind)
#00326D
Tritanopia (blue-blind)
#442B41
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4a146f;
/* rgb */ color: rgb(74, 20, 111);
/* oklch */ color: oklch(33.3% 0.146 306.8);
Tailwind
colors: {
  custom: {
    50: '#815999',
    500: '#4a146f',
    950: '#000000',
  },
}
SCSS
$custom: #4a146f;
$custom-light: #815999;
$custom-dark: #000000;
JSON
{
  "hex": "#4a146f",
  "rgb": {
    "r": 74,
    "g": 20,
    "b": 111
  },
  "hsl": {
    "h": 275.604,
    "s": 69.466,
    "l": 25.686
  },
  "oklch": {
    "l": 0.33301,
    "c": 0.14627,
    "h": 306.8
  },
  "luminance": 0.03104
}

Semantic roles & 50–950 ramp

primary
#4A146F
secondary
#65A639
accent
#EC3C83
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4A146F

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

Preview Lab → · Contrast checker → · Palette generator →

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