#4C2E89#4C2E89

#4C2E89 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.1% C 0.144 H 293.8°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#4C2E89
RGBrgb(76, 46, 137)
HSLhsl(260, 50%, 36%)
HSVhsv(260, 66%, 54%)
CMYKcmyk(44.5%, 66.4%, 0%, 46.3%)
CIE-LABlab(27.56, 35.57, -46.10)
CIE-LCHlch(27.56, 58.23, 307.66°)
OKLaboklab(39.09% 0.0582 -0.1317)
OKLCHoklch(39.09% 0.144 293.8)
XYZxyz(8.4716, 5.2964, 24.2380)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2E89 #6B892E
analogous
#2E3D89 #4C2E89 #792E89
triadic
#4C2E89 #894C2E #2E894C
tetradic
#4C2E89 #892E3D #6B892E #2E8979
square
#4C2E89 #892E3D #6B892E #2E8979
split-complementary
#4C2E89 #89792E #3D892E
monochromatic
#190F2D #331F5B #4C2E89 #653DB7 #8766CC

Accessibility & contrast

On white

10.20
#4C2E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#4C2E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2E89
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2E89#FFFFFF#000000##FFFFFF
##4C2E891.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428C
Deuteranopia (green-blind)
#003F87
Tritanopia (blue-blind)
#3B4357
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4c2e89;
/* rgb */ color: rgb(76, 46, 137);
/* oklch */ color: oklch(39.1% 0.144 293.8);
Tailwind
colors: {
  custom: {
    50: '#8369ac',
    500: '#4c2e89',
    950: '#000000',
  },
}
SCSS
$custom: #4c2e89;
$custom-light: #8369ac;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2e89",
  "rgb": {
    "r": 76,
    "g": 46,
    "b": 137
  },
  "hsl": {
    "h": 259.78,
    "s": 49.727,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39091,
    "c": 0.14398,
    "h": 293.8
  },
  "luminance": 0.05297
}

Semantic roles & 50–950 ramp

primary
#4C2E89
secondary
#97B260
accent
#D94FAC
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4C2E89

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

Preview Lab → · Contrast checker → · Palette generator →

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