#4A2E90#4A2E90

#4A2E90 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.5% C 0.153 H 290.8°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#4A2E90
RGBrgb(74, 46, 144)
HSLhsl(257, 52%, 37%)
HSVhsv(257, 68%, 56%)
CMYKcmyk(48.6%, 68.1%, 0%, 43.5%)
CIE-LABlab(27.91, 37.23, -49.89)
CIE-LCHlch(27.91, 62.25, 306.73°)
OKLaboklab(39.47% 0.0544 -0.1429)
OKLCHoklch(39.47% 0.153 290.8)
XYZxyz(8.8337, 5.4231, 26.9615)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2E90 #74902E
analogous
#2E4390 #4A2E90 #7B2E90
triadic
#4A2E90 #904A2E #2E904A
tetradic
#4A2E90 #902E43 #74902E #2E907B
square
#4A2E90 #902E43 #74902E #2E907B
split-complementary
#4A2E90 #907B2E #43902E
monochromatic
#1A1033 #321F62 #4A2E90 #623DBE #8669CF

Accessibility & contrast

On white

10.07
#4A2E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A2E90
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2E90#FFFFFF#000000##FFFFFF
##4A2E901.0010.072.0810.07
#FFFFFF10.071.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004493
Deuteranopia (green-blind)
#00408E
Tritanopia (blue-blind)
#34465B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4a2e90;
/* rgb */ color: rgb(74, 46, 144);
/* oklch */ color: oklch(39.5% 0.153 290.8);
Tailwind
colors: {
  custom: {
    50: '#8369b1',
    500: '#4a2e90',
    950: '#000000',
  },
}
SCSS
$custom: #4a2e90;
$custom-light: #8369b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2e90",
  "rgb": {
    "r": 74,
    "g": 46,
    "b": 144
  },
  "hsl": {
    "h": 257.143,
    "s": 51.579,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39465,
    "c": 0.15289,
    "h": 290.8
  },
  "luminance": 0.05423
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4A2E90

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

Preview Lab → · Contrast checker → · Palette generator →

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