#4A2C85#4A2C85

#4A2C85 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.2% C 0.142 H 294.2°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#4A2C85
RGBrgb(74, 44, 133)
HSLhsl(260, 50%, 35%)
HSVhsv(260, 67%, 52%)
CMYKcmyk(44.4%, 66.9%, 0%, 47.8%)
CIE-LABlab(26.59, 35.14, -45.19)
CIE-LCHlch(26.59, 57.25, 307.87°)
OKLaboklab(38.24% 0.058 -0.1291)
OKLCHoklch(38.24% 0.142 294.2)
XYZxyz(7.9572, 4.9505, 22.7220)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2C85 #67852C
analogous
#2C3B85 #4A2C85 #772C85
triadic
#4A2C85 #854A2C #2C854A
tetradic
#4A2C85 #852C3B #67852C #2C8577
square
#4A2C85 #852C3B #67852C #2C8577
split-complementary
#4A2C85 #85772C #3B852C
monochromatic
#170E29 #301D57 #4A2C85 #643BB3 #8461CB

Accessibility & contrast

On white

10.55
#4A2C85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#4A2C85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2C85
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2C85#FFFFFF#000000##FFFFFF
##4A2C851.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004088
Deuteranopia (green-blind)
#003D83
Tritanopia (blue-blind)
#3A4154
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4a2c85;
/* rgb */ color: rgb(74, 44, 133);
/* oklch */ color: oklch(38.2% 0.142 294.2);
Tailwind
colors: {
  custom: {
    50: '#8267a9',
    500: '#4a2c85',
    950: '#000000',
  },
}
SCSS
$custom: #4a2c85;
$custom-light: #8267a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2c85",
  "rgb": {
    "r": 74,
    "g": 44,
    "b": 133
  },
  "hsl": {
    "h": 260.225,
    "s": 50.282,
    "l": 34.706
  },
  "oklch": {
    "l": 0.38238,
    "c": 0.14153,
    "h": 294.2
  },
  "luminance": 0.04951
}

Semantic roles & 50–950 ramp

primary
#4A2C85
secondary
#94B15C
accent
#DA4EAB
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4A2C85

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

Preview Lab → · Contrast checker → · Palette generator →

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