#4C259B#4C259B

#4C259B is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.4% C 0.177 H 291.1°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#4C259B
RGBrgb(76, 37, 155)
HSLhsl(260, 61%, 38%)
HSVhsv(260, 76%, 61%)
CMYKcmyk(51%, 76.1%, 0%, 39.2%)
CIE-LABlab(27.37, 45.57, -57.52)
CIE-LCHlch(27.37, 73.38, 308.39°)
OKLaboklab(39.43% 0.0637 -0.1652)
OKLCHoklch(39.43% 0.177 291.1)
XYZxyz(9.5568, 5.2258, 31.5091)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C259B #749B25
analogous
#25399B #4C259B #87259B
triadic
#4C259B #9B4C25 #259B4C
tetradic
#4C259B #9B2539 #749B25 #259B87
square
#4C259B #9B2539 #749B25 #259B87
split-complementary
#4C259B #9B8725 #399B25
monochromatic
#1C0D38 #34196A #4C259B #6431CC #8961D9

Accessibility & contrast

On white

10.27
#4C259B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C259B
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C259B#FFFFFF#000000##FFFFFF
##4C259B1.0010.272.0510.27
#FFFFFF10.271.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439E
Deuteranopia (green-blind)
#003E99
Tritanopia (blue-blind)
#31455E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4c259b;
/* rgb */ color: rgb(76, 37, 155);
/* oklch */ color: oklch(39.4% 0.177 291.1);
Tailwind
colors: {
  custom: {
    50: '#8664ba',
    500: '#4c259b',
    950: '#000000',
  },
}
SCSS
$custom: #4c259b;
$custom-light: #8664ba;
$custom-dark: #000000;
JSON
{
  "hex": "#4c259b",
  "rgb": {
    "r": 76,
    "g": 37,
    "b": 155
  },
  "hsl": {
    "h": 259.831,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39431,
    "c": 0.17701,
    "h": 291.1
  },
  "luminance": 0.05226
}

Semantic roles & 50–950 ramp

primary
#4C259B
secondary
#9EBF5D
accent
#E543AF
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4C259B

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

Preview Lab → · Contrast checker → · Palette generator →

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