#4A2EAF#4A2EAF

#4A2EAF is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.3% C 0.191 H 284.7°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#4A2EAF
RGBrgb(74, 46, 175)
HSLhsl(253, 58%, 43%)
HSVhsv(253, 74%, 69%)
CMYKcmyk(57.7%, 73.7%, 0%, 31.4%)
CIE-LABlab(30.65, 46.48, -64.22)
CIE-LCHlch(30.65, 79.28, 305.89°)
OKLaboklab(42.27% 0.0484 -0.1849)
OKLCHoklch(42.27% 0.191 284.7)
XYZxyz(11.5365, 6.5043, 41.1967)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2EAF #93AF2E
analogous
#2E52AF #4A2EAF #8A2EAF
triadic
#4A2EAF #AF4A2E #2EAF4A
tetradic
#4A2EAF #AF2E52 #93AF2E #2EAF8A
square
#4A2EAF #AF2E52 #93AF2E #2EAF8A
split-complementary
#4A2EAF #AF8A2E #52AF2E
monochromatic
#21154E #36217F #4A2EAF #674BD0 #907BDC

Accessibility & contrast

On white

9.13
#4A2EAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#4A2EAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2EAF
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2EAF#FFFFFF#000000##FFFFFF
##4A2EAF1.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB3
Deuteranopia (green-blind)
#0044AD
Tritanopia (blue-blind)
#14526C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4a2eaf;
/* rgb */ color: rgb(74, 46, 175);
/* oklch */ color: oklch(42.3% 0.191 284.7);
Tailwind
colors: {
  custom: {
    50: '#886ac8',
    500: '#4a2eaf',
    950: '#000000',
  },
}
SCSS
$custom: #4a2eaf;
$custom-light: #886ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2eaf",
  "rgb": {
    "r": 74,
    "g": 46,
    "b": 175
  },
  "hsl": {
    "h": 253.023,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.42266,
    "c": 0.19118,
    "h": 284.7
  },
  "luminance": 0.06505
}

Semantic roles & 50–950 ramp

primary
#4A2EAF
secondary
#B3C574
accent
#E246C0
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0D0713
muted
#7D7A82

Preview Lab

Preview with #4A2EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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