#4C269F#4C269F

#4C269F is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.9% C 0.181 H 290.0°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#4C269F
RGBrgb(76, 38, 159)
HSLhsl(259, 61%, 39%)
HSVhsv(259, 76%, 62%)
CMYKcmyk(52.2%, 76.1%, 0%, 37.6%)
CIE-LABlab(27.91, 46.20, -59.06)
CIE-LCHlch(27.91, 74.99, 308.04°)
OKLaboklab(39.93% 0.0618 -0.1697)
OKLCHoklch(39.93% 0.181 290)
XYZxyz(9.9298, 5.4255, 33.3182)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C269F #799F26
analogous
#263C9F #4C269F #88269F
triadic
#4C269F #9F4C26 #269F4C
tetradic
#4C269F #9F263C #799F26 #269F88
square
#4C269F #9F263C #799F26 #269F88
split-complementary
#4C269F #9F8826 #3C9F26
monochromatic
#1D0E3C #341A6E #4C269F #6434CE #8A65DA

Accessibility & contrast

On white

10.07
#4C269F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#4C269F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C269F
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C269F#FFFFFF#000000##FFFFFF
##4C269F1.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#003F9D
Tritanopia (blue-blind)
#2E4761
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4c269f;
/* rgb */ color: rgb(76, 38, 159);
/* oklch */ color: oklch(39.9% 0.181 290.0);
Tailwind
colors: {
  custom: {
    50: '#8765bc',
    500: '#4c269f',
    950: '#000000',
  },
}
SCSS
$custom: #4c269f;
$custom-light: #8765bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4c269f",
  "rgb": {
    "r": 76,
    "g": 38,
    "b": 159
  },
  "hsl": {
    "h": 258.843,
    "s": 61.421,
    "l": 38.627
  },
  "oklch": {
    "l": 0.39928,
    "c": 0.18059,
    "h": 290
  },
  "luminance": 0.05426
}

Semantic roles & 50–950 ramp

primary
#4C269F
secondary
#A2C061
accent
#E543B2
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4C269F

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

Preview Lab → · Contrast checker → · Palette generator →

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