#4A2EBC#4A2EBC

#4A2EBC is a dark, highly saturated violet. Relative luminance 0.070; OKLCH L 43.5% C 0.207 H 282.7°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#4A2EBC
RGBrgb(74, 46, 188)
HSLhsl(252, 61%, 46%)
HSVhsv(252, 76%, 74%)
CMYKcmyk(60.6%, 75.5%, 0%, 26.3%)
CIE-LABlab(31.90, 50.33, -69.89)
CIE-LCHlch(31.90, 86.13, 305.76°)
OKLaboklab(43.52% 0.0453 -0.2015)
OKLCHoklch(43.52% 0.207 282.7)
XYZxyz(12.8753, 7.0398, 48.2475)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2EBC #A0BC2E
analogous
#2E59BC #4A2EBC #912EBC
triadic
#4A2EBC #BC4A2E #2EBC4A
tetradic
#4A2EBC #BC2E59 #A0BC2E #2EBC91
square
#4A2EBC #BC2E59 #A0BC2E #2EBC91
split-complementary
#4A2EBC #BC912E #59BC2E
monochromatic
#23165A #37228B #4A2EBC #6C52D5 #9684E1

Accessibility & contrast

On white

8.72
#4A2EBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#4A2EBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2EBC
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2EBC#FFFFFF#000000##FFFFFF
##4A2EBC1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C0
Deuteranopia (green-blind)
#0046B9
Tritanopia (blue-blind)
#005773
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4a2ebc;
/* rgb */ color: rgb(74, 46, 188);
/* oklch */ color: oklch(43.5% 0.207 282.7);
Tailwind
colors: {
  custom: {
    50: '#8a6ad1',
    500: '#4a2ebc',
    950: '#000000',
  },
}
SCSS
$custom: #4a2ebc;
$custom-light: #8a6ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2ebc",
  "rgb": {
    "r": 74,
    "g": 46,
    "b": 188
  },
  "hsl": {
    "h": 251.831,
    "s": 60.684,
    "l": 45.882
  },
  "oklch": {
    "l": 0.43521,
    "c": 0.20654,
    "h": 282.7
  },
  "luminance": 0.07041
}

Semantic roles & 50–950 ramp

primary
#4A2EBC
secondary
#BBCA7C
accent
#E444C4
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4A2EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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