#4C2B8F#4C2B8F

#4C2B8F is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.1% C 0.156 H 292.9°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#4C2B8F
RGBrgb(76, 43, 143)
HSLhsl(260, 54%, 36%)
HSVhsv(260, 70%, 56%)
CMYKcmyk(46.9%, 69.9%, 0%, 43.9%)
CIE-LABlab(27.43, 39.02, -50.04)
CIE-LCHlch(27.43, 63.46, 307.94°)
OKLaboklab(39.15% 0.0607 -0.1433)
OKLCHoklch(39.15% 0.156 292.9)
XYZxyz(8.8009, 5.2471, 26.5304)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2B8F #6E8F2B
analogous
#2B3C8F #4C2B8F #7E2B8F
triadic
#4C2B8F #8F4C2B #2B8F4C
tetradic
#4C2B8F #8F2B3C #6E8F2B #2B8F7E
square
#4C2B8F #8F2B3C #6E8F2B #2B8F7E
split-complementary
#4C2B8F #8F7E2B #3C8F2B
monochromatic
#1A0F31 #331D60 #4C2B8F #6539BE #8864D0

Accessibility & contrast

On white

10.25
#4C2B8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#4C2B8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2B8F
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2B8F#FFFFFF#000000##FFFFFF
##4C2B8F1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004292
Deuteranopia (green-blind)
#003F8D
Tritanopia (blue-blind)
#384459
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4c2b8f;
/* rgb */ color: rgb(76, 43, 143);
/* oklch */ color: oklch(39.1% 0.156 292.9);
Tailwind
colors: {
  custom: {
    50: '#8467b1',
    500: '#4c2b8f',
    950: '#000000',
  },
}
SCSS
$custom: #4c2b8f;
$custom-light: #8467b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2b8f",
  "rgb": {
    "r": 76,
    "g": 43,
    "b": 143
  },
  "hsl": {
    "h": 259.8,
    "s": 53.763,
    "l": 36.471
  },
  "oklch": {
    "l": 0.39146,
    "c": 0.15558,
    "h": 292.9
  },
  "luminance": 0.05247
}

Semantic roles & 50–950 ramp

primary
#4C2B8F
secondary
#9AB75F
accent
#DD4BAD
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #4C2B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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