#4A146C#4A146C

#4A146C is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.0% C 0.143 H 308.1°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#4A146C
RGBrgb(74, 20, 108)
HSLhsl(277, 69%, 25%)
HSVhsv(277, 81%, 42%)
CMYKcmyk(31.5%, 81.5%, 0%, 57.6%)
CIE-LABlab(20.20, 40.59, -39.64)
CIE-LCHlch(20.20, 56.74, 315.68°)
OKLaboklab(33.04% 0.0884 -0.1126)
OKLCHoklch(33.04% 0.143 308.1)
XYZxyz(5.7804, 3.0390, 14.4665)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A146C #366C14
analogous
#1E146C #4A146C #6C1462
triadic
#4A146C #6C4A14 #146C4A
tetradic
#4A146C #6C1E14 #366C14 #14626C
square
#4A146C #6C1E14 #366C14 #14626C
split-complementary
#4A146C #626C14 #146C1E
monochromatic
#12051A #270A38 #4A146C #6D1EA0 #9127D3

Accessibility & contrast

On white

13.06
#4A146C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A146C
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A146C#FFFFFF#000000##FFFFFF
##4A146C1.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6E
Deuteranopia (green-blind)
#00316A
Tritanopia (blue-blind)
#442A40
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4a146c;
/* rgb */ color: rgb(74, 20, 108);
/* oklch */ color: oklch(33.0% 0.143 308.1);
Tailwind
colors: {
  custom: {
    50: '#815997',
    500: '#4a146c',
    950: '#000000',
  },
}
SCSS
$custom: #4a146c;
$custom-light: #815997;
$custom-dark: #000000;
JSON
{
  "hex": "#4a146c",
  "rgb": {
    "r": 74,
    "g": 20,
    "b": 108
  },
  "hsl": {
    "h": 276.818,
    "s": 68.75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.33041,
    "c": 0.14316,
    "h": 308.1
  },
  "luminance": 0.03039
}

Semantic roles & 50–950 ramp

primary
#4A146C
secondary
#62A339
accent
#EC3C80
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4A146C

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

Preview Lab → · Contrast checker → · Palette generator →

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