#4A2C8E#4A2C8E

#4A2C8E is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.0% C 0.153 H 291.8°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#4A2C8E
RGBrgb(74, 44, 142)
HSLhsl(258, 53%, 36%)
HSVhsv(258, 69%, 56%)
CMYKcmyk(47.9%, 69%, 0%, 44.3%)
CIE-LABlab(27.32, 37.78, -49.60)
CIE-LCHlch(27.32, 62.35, 307.29°)
OKLaboklab(38.99% 0.0568 -0.142)
OKLCHoklch(38.99% 0.153 291.8)
XYZxyz(8.6058, 5.2099, 26.1381)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2C8E #708E2C
analogous
#2C3F8E #4A2C8E #7B2C8E
triadic
#4A2C8E #8E4A2C #2C8E4A
tetradic
#4A2C8E #8E2C3F #708E2C #2C8E7B
square
#4A2C8E #8E2C3F #708E2C #2C8E7B
split-complementary
#4A2C8E #8E7B2C #3F8E2C
monochromatic
#190F31 #321E5F #4A2C8E #623ABD #8665CF

Accessibility & contrast

On white

10.28
#4A2C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#4A2C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2C8E
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2C8E#FFFFFF#000000##FFFFFF
##4A2C8E1.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004291
Deuteranopia (green-blind)
#003F8C
Tritanopia (blue-blind)
#354459
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4a2c8e;
/* rgb */ color: rgb(74, 44, 142);
/* oklch */ color: oklch(39.0% 0.153 291.8);
Tailwind
colors: {
  custom: {
    50: '#8367b0',
    500: '#4a2c8e',
    950: '#000000',
  },
}
SCSS
$custom: #4a2c8e;
$custom-light: #8367b0;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2c8e",
  "rgb": {
    "r": 74,
    "g": 44,
    "b": 142
  },
  "hsl": {
    "h": 258.367,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.38994,
    "c": 0.15298,
    "h": 291.8
  },
  "luminance": 0.0521
}

Semantic roles & 50–950 ramp

primary
#4A2C8E
secondary
#9CB660
accent
#DC4CB0
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #4A2C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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