#4C269C#4C269C

#4C269C is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.6% C 0.177 H 290.7°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#4C269C
RGBrgb(76, 38, 156)
HSLhsl(259, 61%, 38%)
HSVhsv(259, 76%, 61%)
CMYKcmyk(51.3%, 75.6%, 0%, 38.8%)
CIE-LABlab(27.63, 45.36, -57.69)
CIE-LCHlch(27.63, 73.38, 308.18°)
OKLaboklab(39.65% 0.0626 -0.1657)
OKLCHoklch(39.65% 0.177 290.7)
XYZxyz(9.6726, 5.3226, 31.9638)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C269C #769C26
analogous
#263B9C #4C269C #87269C
triadic
#4C269C #9C4C26 #269C4C
tetradic
#4C269C #9C263B #769C26 #269C87
square
#4C269C #9C263B #769C26 #269C87
split-complementary
#4C269C #9C8726 #3B9C26
monochromatic
#1C0E3A #341A6B #4C269C #6432CD #8963D9

Accessibility & contrast

On white

10.17
#4C269C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C269C
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C269C#FFFFFF#000000##FFFFFF
##4C269C1.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439F
Deuteranopia (green-blind)
#003F9A
Tritanopia (blue-blind)
#30465F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4c269c;
/* rgb */ color: rgb(76, 38, 156);
/* oklch */ color: oklch(39.6% 0.177 290.7);
Tailwind
colors: {
  custom: {
    50: '#8764ba',
    500: '#4c269c',
    950: '#000000',
  },
}
SCSS
$custom: #4c269c;
$custom-light: #8764ba;
$custom-dark: #000000;
JSON
{
  "hex": "#4c269c",
  "rgb": {
    "r": 76,
    "g": 38,
    "b": 156
  },
  "hsl": {
    "h": 259.322,
    "s": 60.825,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39647,
    "c": 0.17711,
    "h": 290.7
  },
  "luminance": 0.05323
}

Semantic roles & 50–950 ramp

primary
#4C269C
secondary
#A0BF5F
accent
#E444B0
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4C269C

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

Preview Lab → · Contrast checker → · Palette generator →

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