#4A2EBB#4A2EBB

#4A2EBB is a dark, highly saturated violet. Relative luminance 0.070; OKLCH L 43.4% C 0.205 H 282.8°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#4A2EBB
RGBrgb(74, 46, 187)
HSLhsl(252, 61%, 46%)
HSVhsv(252, 75%, 73%)
CMYKcmyk(60.4%, 75.4%, 0%, 26.7%)
CIE-LABlab(31.80, 50.04, -69.46)
CIE-LCHlch(31.80, 85.61, 305.77°)
OKLaboklab(43.42% 0.0455 -0.2003)
OKLCHoklch(43.42% 0.205 282.8)
XYZxyz(12.7679, 6.9968, 47.6818)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2EBB #9FBB2E
analogous
#2E58BB #4A2EBB #902EBB
triadic
#4A2EBB #BB4A2E #2EBB4A
tetradic
#4A2EBB #BB2E58 #9FBB2E #2EBB90
square
#4A2EBB #BB2E58 #9FBB2E #2EBB90
split-complementary
#4A2EBB #BB902E #58BB2E
monochromatic
#231659 #37228A #4A2EBB #6C52D4 #9583E0

Accessibility & contrast

On white

8.75
#4A2EBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#4A2EBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2EBB
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2EBB#FFFFFF#000000##FFFFFF
##4A2EBB1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBF
Deuteranopia (green-blind)
#0046B8
Tritanopia (blue-blind)
#005673
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4a2ebb;
/* rgb */ color: rgb(74, 46, 187);
/* oklch */ color: oklch(43.4% 0.205 282.8);
Tailwind
colors: {
  custom: {
    50: '#8a6ad1',
    500: '#4a2ebb',
    950: '#000000',
  },
}
SCSS
$custom: #4a2ebb;
$custom-light: #8a6ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2ebb",
  "rgb": {
    "r": 74,
    "g": 46,
    "b": 187
  },
  "hsl": {
    "h": 251.915,
    "s": 60.515,
    "l": 45.686
  },
  "oklch": {
    "l": 0.43423,
    "c": 0.20538,
    "h": 282.8
  },
  "luminance": 0.06998
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4A2EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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