#4A2E9F#4A2E9F

#4A2E9F is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.8% C 0.172 H 287.6°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#4A2E9F
RGBrgb(74, 46, 159)
HSLhsl(255, 55%, 40%)
HSVhsv(255, 71%, 62%)
CMYKcmyk(53.5%, 71.1%, 0%, 37.6%)
CIE-LABlab(29.19, 41.70, -56.98)
CIE-LCHlch(29.19, 70.61, 306.20°)
OKLaboklab(40.78% 0.0519 -0.1637)
OKLCHoklch(40.78% 0.172 287.6)
XYZxyz(10.0572, 5.9125, 33.4055)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2E9F #839F2E
analogous
#2E4B9F #4A2E9F #822E9F
triadic
#4A2E9F #9F4A2E #2E9F4A
tetradic
#4A2E9F #9F2E4B #839F2E #2E9F82
square
#4A2E9F #9F2E4B #839F2E #2E9F82
split-complementary
#4A2E9F #9F822E #4B9F2E
monochromatic
#1E1340 #342070 #4A2E9F #6342C8 #8A71D6

Accessibility & contrast

On white

9.62
#4A2E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#4A2E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2E9F
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2E9F#FFFFFF#000000##FFFFFF
##4A2E9F1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#00429D
Tritanopia (blue-blind)
#294B63
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4a2e9f;
/* rgb */ color: rgb(74, 46, 159);
/* oklch */ color: oklch(40.8% 0.172 287.6);
Tailwind
colors: {
  custom: {
    50: '#8569bc',
    500: '#4a2e9f',
    950: '#000000',
  },
}
SCSS
$custom: #4a2e9f;
$custom-light: #8569bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2e9f",
  "rgb": {
    "r": 74,
    "g": 46,
    "b": 159
  },
  "hsl": {
    "h": 254.867,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.40782,
    "c": 0.17172,
    "h": 287.6
  },
  "luminance": 0.05913
}

Semantic roles & 50–950 ramp

primary
#4A2E9F
secondary
#A9BE6B
accent
#DE49BA
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4A2E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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