#4A2C8A#4A2C8A

#4A2C8A is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.7% C 0.148 H 292.8°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#4A2C8A
RGBrgb(74, 44, 138)
HSLhsl(259, 52%, 36%)
HSVhsv(259, 68%, 54%)
CMYKcmyk(46.4%, 68.1%, 0%, 45.9%)
CIE-LABlab(27.00, 36.60, -47.66)
CIE-LCHlch(27.00, 60.09, 307.53°)
OKLaboklab(38.65% 0.0574 -0.1363)
OKLCHoklch(38.65% 0.148 292.8)
XYZxyz(8.3109, 5.0919, 24.5848)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2C8A #6C8A2C
analogous
#2C3D8A #4A2C8A #792C8A
triadic
#4A2C8A #8A4A2C #2C8A4A
tetradic
#4A2C8A #8A2C3D #6C8A2C #2C8A79
square
#4A2C8A #8A2C3D #6C8A2C #2C8A79
split-complementary
#4A2C8A #8A792C #3D8A2C
monochromatic
#180E2D #311D5C #4A2C8A #633BB8 #8563CD

Accessibility & contrast

On white

10.40
#4A2C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#4A2C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2C8A
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2C8A#FFFFFF#000000##FFFFFF
##4A2C8A1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418D
Deuteranopia (green-blind)
#003E88
Tritanopia (blue-blind)
#374357
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4a2c8a;
/* rgb */ color: rgb(74, 44, 138);
/* oklch */ color: oklch(38.7% 0.148 292.8);
Tailwind
colors: {
  custom: {
    50: '#8267ad',
    500: '#4a2c8a',
    950: '#000000',
  },
}
SCSS
$custom: #4a2c8a;
$custom-light: #8267ad;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2c8a",
  "rgb": {
    "r": 74,
    "g": 44,
    "b": 138
  },
  "hsl": {
    "h": 259.149,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.38654,
    "c": 0.14791,
    "h": 292.8
  },
  "luminance": 0.05092
}

Semantic roles & 50–950 ramp

primary
#4A2C8A
secondary
#98B45E
accent
#DB4DAE
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4A2C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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