#4C2EBD#4C2EBD

#4C2EBD is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 43.8% C 0.207 H 283.4°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#4C2EBD
RGBrgb(76, 46, 189)
HSLhsl(253, 61%, 46%)
HSVhsv(253, 76%, 74%)
CMYKcmyk(59.8%, 75.7%, 0%, 25.9%)
CIE-LABlab(32.18, 50.88, -70.02)
CIE-LCHlch(32.18, 86.55, 306.00°)
OKLaboklab(43.79% 0.0479 -0.2018)
OKLCHoklch(43.79% 0.207 283.4)
XYZxyz(13.1400, 7.1637, 48.8246)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2EBD #9FBD2E
analogous
#2E58BD #4C2EBD #932EBD
triadic
#4C2EBD #BD4C2E #2EBD4C
tetradic
#4C2EBD #BD2E58 #9FBD2E #2EBD93
square
#4C2EBD #BD2E58 #9FBD2E #2EBD93
split-complementary
#4C2EBD #BD932E #58BD2E
monochromatic
#24165B #38228C #4C2EBD #6E53D5 #9884E1

Accessibility & contrast

On white

8.63
#4C2EBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#4C2EBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2EBD
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2EBD#FFFFFF#000000##FFFFFF
##4C2EBD1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c2ebd;
/* rgb */ color: rgb(76, 46, 189);
/* oklch */ color: oklch(43.8% 0.207 283.4);
Tailwind
colors: {
  custom: {
    50: '#8b6bd2',
    500: '#4c2ebd',
    950: '#000000',
  },
}
SCSS
$custom: #4c2ebd;
$custom-light: #8b6bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2ebd",
  "rgb": {
    "r": 76,
    "g": 46,
    "b": 189
  },
  "hsl": {
    "h": 252.587,
    "s": 60.851,
    "l": 46.078
  },
  "oklch": {
    "l": 0.43792,
    "c": 0.20744,
    "h": 283.4
  },
  "luminance": 0.07165
}

Semantic roles & 50–950 ramp

primary
#4C2EBD
secondary
#BACA7C
accent
#E444C2
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4C2EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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