#4A2EBD#4A2EBD

#4A2EBD is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 43.6% C 0.208 H 282.5°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#4A2EBD
RGBrgb(74, 46, 189)
HSLhsl(252, 61%, 46%)
HSVhsv(252, 76%, 74%)
CMYKcmyk(60.8%, 75.7%, 0%, 25.9%)
CIE-LABlab(32.00, 50.63, -70.32)
CIE-LCHlch(32.00, 86.65, 305.75°)
OKLaboklab(43.62% 0.045 -0.2028)
OKLCHoklch(43.62% 0.208 282.5)
XYZxyz(12.9835, 7.0831, 48.8172)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2EBD #A1BD2E
analogous
#2E59BD #4A2EBD #912EBD
triadic
#4A2EBD #BD4A2E #2EBD4A
tetradic
#4A2EBD #BD2E59 #A1BD2E #2EBD91
square
#4A2EBD #BD2E59 #A1BD2E #2EBD91
split-complementary
#4A2EBD #BD912E #59BD2E
monochromatic
#23165B #37228C #4A2EBD #6D53D5 #9684E1

Accessibility & contrast

On white

8.69
#4A2EBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#4A2EBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2EBD
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2EBD#FFFFFF#000000##FFFFFF
##4A2EBD1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C1
Deuteranopia (green-blind)
#0046BA
Tritanopia (blue-blind)
#005774
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4a2ebd;
/* rgb */ color: rgb(74, 46, 189);
/* oklch */ color: oklch(43.6% 0.208 282.5);
Tailwind
colors: {
  custom: {
    50: '#8a6ad2',
    500: '#4a2ebd',
    950: '#000000',
  },
}
SCSS
$custom: #4a2ebd;
$custom-light: #8a6ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2ebd",
  "rgb": {
    "r": 74,
    "g": 46,
    "b": 189
  },
  "hsl": {
    "h": 251.748,
    "s": 60.851,
    "l": 46.078
  },
  "oklch": {
    "l": 0.4362,
    "c": 0.20772,
    "h": 282.5
  },
  "luminance": 0.07084
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4A2EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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