#4C269B#4C269B

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

Color values

HEX#4C269B
RGBrgb(76, 38, 155)
HSLhsl(259, 61%, 38%)
HSVhsv(259, 75%, 61%)
CMYKcmyk(51%, 75.5%, 0%, 39.2%)
CIE-LABlab(27.54, 45.07, -57.23)
CIE-LCHlch(27.54, 72.85, 308.22°)
OKLaboklab(39.55% 0.0628 -0.1643)
OKLCHoklch(39.55% 0.176 290.9)
XYZxyz(9.5883, 5.2889, 31.5196)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C269B #759B26
analogous
#263A9B #4C269B #86269B
triadic
#4C269B #9B4C26 #269B4C
tetradic
#4C269B #9B263A #759B26 #269B86
square
#4C269B #9B263A #759B26 #269B86
split-complementary
#4C269B #9B8626 #3A9B26
monochromatic
#1C0E39 #341A6A #4C269B #6432CC #8963D9

Accessibility & contrast

On white

10.21
#4C269B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C269B
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C269B#FFFFFF#000000##FFFFFF
##4C269B1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c269b;
/* rgb */ color: rgb(76, 38, 155);
/* oklch */ color: oklch(39.6% 0.176 290.9);
Tailwind
colors: {
  custom: {
    50: '#8664b9',
    500: '#4c269b',
    950: '#000000',
  },
}
SCSS
$custom: #4c269b;
$custom-light: #8664b9;
$custom-dark: #000000;
JSON
{
  "hex": "#4c269b",
  "rgb": {
    "r": 76,
    "g": 38,
    "b": 155
  },
  "hsl": {
    "h": 259.487,
    "s": 60.622,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39553,
    "c": 0.17593,
    "h": 290.9
  },
  "luminance": 0.05289
}

Semantic roles & 50–950 ramp

primary
#4C269B
secondary
#9FBE5F
accent
#E444B0
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4C269B

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

Preview Lab → · Contrast checker → · Palette generator →

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