#4A2C8F#4A2C8F

#4A2C8F is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.1% C 0.154 H 291.5°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#4A2C8F
RGBrgb(74, 44, 143)
HSLhsl(258, 53%, 37%)
HSVhsv(258, 69%, 56%)
CMYKcmyk(48.3%, 69.2%, 0%, 43.9%)
CIE-LABlab(27.41, 38.07, -50.08)
CIE-LCHlch(27.41, 62.91, 307.24°)
OKLaboklab(39.08% 0.0566 -0.1435)
OKLCHoklch(39.08% 0.154 291.5)
XYZxyz(8.6813, 5.2401, 26.5353)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2C8F #718F2C
analogous
#2C408F #4A2C8F #7C2C8F
triadic
#4A2C8F #8F4A2C #2C8F4A
tetradic
#4A2C8F #8F2C40 #718F2C #2C8F7C
square
#4A2C8F #8F2C40 #718F2C #2C8F7C
split-complementary
#4A2C8F #8F7C2C #408F2C
monochromatic
#1A0F31 #321E60 #4A2C8F #623ABE #8666D0

Accessibility & contrast

On white

10.25
#4A2C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#4A2C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2C8F
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2C8F#FFFFFF#000000##FFFFFF
##4A2C8F1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004292
Deuteranopia (green-blind)
#003F8D
Tritanopia (blue-blind)
#34445A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4a2c8f;
/* rgb */ color: rgb(74, 44, 143);
/* oklch */ color: oklch(39.1% 0.154 291.5);
Tailwind
colors: {
  custom: {
    50: '#8367b1',
    500: '#4a2c8f',
    950: '#000000',
  },
}
SCSS
$custom: #4a2c8f;
$custom-light: #8367b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2c8f",
  "rgb": {
    "r": 74,
    "g": 44,
    "b": 143
  },
  "hsl": {
    "h": 258.182,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.3908,
    "c": 0.15423,
    "h": 291.5
  },
  "luminance": 0.0524
}

Semantic roles & 50–950 ramp

primary
#4A2C8F
secondary
#9CB661
accent
#DC4BB0
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #4A2C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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