#4A2476#4A2476

#4A2476 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.8% C 0.134 H 301.1°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#4A2476
RGBrgb(74, 36, 118)
HSLhsl(268, 53%, 30%)
HSVhsv(268, 69%, 46%)
CMYKcmyk(37.3%, 69.5%, 0%, 53.7%)
CIE-LABlab(23.76, 35.43, -40.32)
CIE-LCHlch(23.76, 53.67, 311.31°)
OKLaboklab(35.82% 0.0692 -0.1147)
OKLCHoklch(35.82% 0.134 301.1)
XYZxyz(6.7241, 4.0256, 17.5588)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2476 #507624
analogous
#242776 #4A2476 #732476
triadic
#4A2476 #764A24 #24764A
tetradic
#4A2476 #762427 #507624 #247673
square
#4A2476 #762427 #507624 #247673
split-complementary
#4A2476 #767324 #277624
monochromatic
#0F0718 #2D1647 #4A2476 #6732A5 #864CC8

Accessibility & contrast

On white

11.63
#4A2476 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#4A2476 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2476
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2476#FFFFFF#000000##FFFFFF
##4A24761.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003878
Deuteranopia (green-blind)
#003874
Tritanopia (blue-blind)
#41374A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4a2476;
/* rgb */ color: rgb(74, 36, 118);
/* oklch */ color: oklch(35.8% 0.134 301.1);
Tailwind
colors: {
  custom: {
    50: '#80619e',
    500: '#4a2476',
    950: '#000000',
  },
}
SCSS
$custom: #4a2476;
$custom-light: #80619e;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2476",
  "rgb": {
    "r": 74,
    "g": 36,
    "b": 118
  },
  "hsl": {
    "h": 267.805,
    "s": 53.247,
    "l": 30.196
  },
  "oklch": {
    "l": 0.35823,
    "c": 0.134,
    "h": 301.1
  },
  "luminance": 0.04026
}

Semantic roles & 50–950 ramp

primary
#4A2476
secondary
#7EA94D
accent
#DD4B99
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4A2476

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

Preview Lab → · Contrast checker → · Palette generator →

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