#4A2E8F#4A2E8F

#4A2E8F is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.4% C 0.152 H 291.1°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#4A2E8F
RGBrgb(74, 46, 143)
HSLhsl(257, 51%, 37%)
HSVhsv(257, 68%, 56%)
CMYKcmyk(48.3%, 67.8%, 0%, 43.9%)
CIE-LABlab(27.83, 36.93, -49.40)
CIE-LCHlch(27.83, 61.68, 306.78°)
OKLaboklab(39.38% 0.0545 -0.1415)
OKLCHoklch(39.38% 0.152 291.1)
XYZxyz(8.7576, 5.3927, 26.5607)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2E8F #738F2E
analogous
#2E428F #4A2E8F #7B2E8F
triadic
#4A2E8F #8F4A2E #2E8F4A
tetradic
#4A2E8F #8F2E42 #738F2E #2E8F7B
square
#4A2E8F #8F2E42 #738F2E #2E8F7B
split-complementary
#4A2E8F #8F7B2E #428F2E
monochromatic
#1A1032 #321F61 #4A2E8F #623DBD #8669CF

Accessibility & contrast

On white

10.10
#4A2E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#4A2E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2E8F
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2E8F#FFFFFF#000000##FFFFFF
##4A2E8F1.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004392
Deuteranopia (green-blind)
#00408D
Tritanopia (blue-blind)
#34465A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4a2e8f;
/* rgb */ color: rgb(74, 46, 143);
/* oklch */ color: oklch(39.4% 0.152 291.1);
Tailwind
colors: {
  custom: {
    50: '#8369b1',
    500: '#4a2e8f',
    950: '#000000',
  },
}
SCSS
$custom: #4a2e8f;
$custom-light: #8369b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2e8f",
  "rgb": {
    "r": 74,
    "g": 46,
    "b": 143
  },
  "hsl": {
    "h": 257.32,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.3938,
    "c": 0.15161,
    "h": 291.1
  },
  "luminance": 0.05393
}

Semantic roles & 50–950 ramp

primary
#4A2E8F
secondary
#9EB663
accent
#DB4DB2
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #4A2E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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