#4C2DBC#4C2DBC

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

Color values

HEX#4C2DBC
RGBrgb(76, 45, 188)
HSLhsl(253, 61%, 46%)
HSVhsv(253, 76%, 74%)
CMYKcmyk(59.6%, 76.1%, 0%, 26.3%)
CIE-LABlab(31.91, 51.08, -69.87)
CIE-LCHlch(31.91, 86.56, 306.17°)
OKLaboklab(43.57% 0.0489 -0.2014)
OKLCHoklch(43.57% 0.207 283.6)
XYZxyz(12.9932, 7.0433, 48.2420)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2DBC #9DBC2D
analogous
#2D55BC #4C2DBC #932DBC
triadic
#4C2DBC #BC4C2D #2DBC4C
tetradic
#4C2DBC #BC2D55 #9DBC2D #2DBC93
square
#4C2DBC #BC2D55 #9DBC2D #2DBC93
split-complementary
#4C2DBC #BC932D #55BC2D
monochromatic
#241559 #38218B #4C2DBC #6E51D5 #9782E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C2DBC#FFFFFF#000000##FFFFFF
##4C2DBC1.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)
#004FC0
Deuteranopia (green-blind)
#0046B9
Tritanopia (blue-blind)
#005673
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4c2dbc;
/* rgb */ color: rgb(76, 45, 188);
/* oklch */ color: oklch(43.6% 0.207 283.6);
Tailwind
colors: {
  custom: {
    50: '#8b6ad1',
    500: '#4c2dbc',
    950: '#000000',
  },
}
SCSS
$custom: #4c2dbc;
$custom-light: #8b6ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2dbc",
  "rgb": {
    "r": 76,
    "g": 45,
    "b": 188
  },
  "hsl": {
    "h": 253.007,
    "s": 61.373,
    "l": 45.686
  },
  "oklch": {
    "l": 0.43572,
    "c": 0.20724,
    "h": 283.6
  },
  "luminance": 0.07044
}

Semantic roles & 50–950 ramp

primary
#4C2DBC
secondary
#B9CA7B
accent
#E443C2
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4C2DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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