#4C2E83#4C2E83

#4C2E83 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.6% C 0.136 H 295.6°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#4C2E83
RGBrgb(76, 46, 131)
HSLhsl(261, 48%, 35%)
HSVhsv(261, 65%, 51%)
CMYKcmyk(42%, 64.9%, 0%, 48.6%)
CIE-LABlab(27.10, 33.83, -43.11)
CIE-LCHlch(27.10, 54.80, 308.13°)
OKLaboklab(38.61% 0.0588 -0.1229)
OKLCHoklch(38.61% 0.136 295.6)
XYZxyz(8.0531, 5.1290, 22.0340)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2E83 #65832E
analogous
#2E3B83 #4C2E83 #762E83
triadic
#4C2E83 #834C2E #2E834C
tetradic
#4C2E83 #832E3B #65832E #2E8376
square
#4C2E83 #832E3B #65832E #2E8376
split-complementary
#4C2E83 #83762E #3B832E
monochromatic
#170E28 #321E56 #4C2E83 #663EB0 #8763C8

Accessibility & contrast

On white

10.37
#4C2E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#4C2E83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2E83
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2E83#FFFFFF#000000##FFFFFF
##4C2E831.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004186
Deuteranopia (green-blind)
#003F81
Tritanopia (blue-blind)
#3E4154
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4c2e83;
/* rgb */ color: rgb(76, 46, 131);
/* oklch */ color: oklch(38.6% 0.136 295.6);
Tailwind
colors: {
  custom: {
    50: '#8368a8',
    500: '#4c2e83',
    950: '#000000',
  },
}
SCSS
$custom: #4c2e83;
$custom-light: #8368a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2e83",
  "rgb": {
    "r": 76,
    "g": 46,
    "b": 131
  },
  "hsl": {
    "h": 261.176,
    "s": 48.023,
    "l": 34.706
  },
  "oklch": {
    "l": 0.38608,
    "c": 0.13623,
    "h": 295.6
  },
  "luminance": 0.05129
}

Semantic roles & 50–950 ramp

primary
#4C2E83
secondary
#92AF5E
accent
#D850A8
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4C2E83

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

Preview Lab → · Contrast checker → · Palette generator →

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