#4C269E#4C269E

#4C269E is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.8% C 0.179 H 290.2°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#4C269E
RGBrgb(76, 38, 158)
HSLhsl(259, 61%, 38%)
HSVhsv(259, 76%, 62%)
CMYKcmyk(51.9%, 75.9%, 0%, 38%)
CIE-LABlab(27.82, 45.92, -58.60)
CIE-LCHlch(27.82, 74.45, 308.08°)
OKLaboklab(39.83% 0.062 -0.1684)
OKLCHoklch(39.83% 0.179 290.2)
XYZxyz(9.8434, 5.3909, 32.8630)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C269E #789E26
analogous
#263C9E #4C269E #88269E
triadic
#4C269E #9E4C26 #269E4C
tetradic
#4C269E #9E263C #789E26 #269E88
square
#4C269E #9E263C #789E26 #269E88
split-complementary
#4C269E #9E8826 #3C9E26
monochromatic
#1D0E3B #341A6D #4C269E #6433CE #8A65DA

Accessibility & contrast

On white

10.10
#4C269E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#4C269E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C269E
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C269E#FFFFFF#000000##FFFFFF
##4C269E1.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#003F9C
Tritanopia (blue-blind)
#2F4760
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4c269e;
/* rgb */ color: rgb(76, 38, 158);
/* oklch */ color: oklch(39.8% 0.179 290.2);
Tailwind
colors: {
  custom: {
    50: '#8765bc',
    500: '#4c269e',
    950: '#000000',
  },
}
SCSS
$custom: #4c269e;
$custom-light: #8765bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4c269e",
  "rgb": {
    "r": 76,
    "g": 38,
    "b": 158
  },
  "hsl": {
    "h": 259,
    "s": 61.224,
    "l": 38.431
  },
  "oklch": {
    "l": 0.39834,
    "c": 0.17943,
    "h": 290.2
  },
  "luminance": 0.05391
}

Semantic roles & 50–950 ramp

primary
#4C269E
secondary
#A1C060
accent
#E443B1
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4C269E

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

Preview Lab → · Contrast checker → · Palette generator →

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