#4C259A#4C259A

#4C259A is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.3% C 0.176 H 291.3°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#4C259A
RGBrgb(76, 37, 154)
HSLhsl(260, 61%, 37%)
HSVhsv(260, 76%, 60%)
CMYKcmyk(50.6%, 76%, 0%, 39.6%)
CIE-LABlab(27.28, 45.29, -57.06)
CIE-LCHlch(27.28, 72.84, 308.44°)
OKLaboklab(39.34% 0.0639 -0.1638)
OKLCHoklch(39.34% 0.176 291.3)
XYZxyz(9.4731, 5.1924, 31.0687)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C259A #739A25
analogous
#25389A #4C259A #87259A
triadic
#4C259A #9A4C25 #259A4C
tetradic
#4C259A #9A2538 #739A25 #259A87
square
#4C259A #9A2538 #739A25 #259A87
split-complementary
#4C259A #9A8725 #389A25
monochromatic
#1B0D37 #341969 #4C259A #6431CB #8960D9

Accessibility & contrast

On white

10.30
#4C259A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#4C259A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C259A
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C259A#FFFFFF#000000##FFFFFF
##4C259A1.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429D
Deuteranopia (green-blind)
#003E98
Tritanopia (blue-blind)
#32455E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4c259a;
/* rgb */ color: rgb(76, 37, 154);
/* oklch */ color: oklch(39.3% 0.176 291.3);
Tailwind
colors: {
  custom: {
    50: '#8664b9',
    500: '#4c259a',
    950: '#000000',
  },
}
SCSS
$custom: #4c259a;
$custom-light: #8664b9;
$custom-dark: #000000;
JSON
{
  "hex": "#4c259a",
  "rgb": {
    "r": 76,
    "g": 37,
    "b": 154
  },
  "hsl": {
    "h": 260,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39337,
    "c": 0.17585,
    "h": 291.3
  },
  "luminance": 0.05193
}

Semantic roles & 50–950 ramp

primary
#4C259A
secondary
#9EBE5D
accent
#E443AF
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4C259A

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

Preview Lab → · Contrast checker → · Palette generator →

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