#4A269F#4A269F

#4A269F is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.7% C 0.181 H 289.0°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#4A269F
RGBrgb(74, 38, 159)
HSLhsl(258, 61%, 39%)
HSVhsv(258, 76%, 62%)
CMYKcmyk(53.5%, 76.1%, 0%, 37.6%)
CIE-LABlab(27.70, 45.90, -59.43)
CIE-LCHlch(27.70, 75.09, 307.68°)
OKLaboklab(39.72% 0.0587 -0.1708)
OKLCHoklch(39.72% 0.181 289)
XYZxyz(9.7733, 5.3448, 33.3108)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A269F #7B9F26
analogous
#263E9F #4A269F #86269F
triadic
#4A269F #9F4A26 #269F4A
tetradic
#4A269F #9F263E #7B9F26 #269F86
square
#4A269F #9F263E #7B9F26 #269F86
split-complementary
#4A269F #9F8626 #3E9F26
monochromatic
#1C0E3C #331A6E #4A269F #6234CE #8865DA

Accessibility & contrast

On white

10.15
#4A269F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#4A269F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A269F
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A269F#FFFFFF#000000##FFFFFF
##4A269F1.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#003E9D
Tritanopia (blue-blind)
#294761
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4a269f;
/* rgb */ color: rgb(74, 38, 159);
/* oklch */ color: oklch(39.7% 0.181 289.0);
Tailwind
colors: {
  custom: {
    50: '#8664bc',
    500: '#4a269f',
    950: '#000000',
  },
}
SCSS
$custom: #4a269f;
$custom-light: #8664bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4a269f",
  "rgb": {
    "r": 74,
    "g": 38,
    "b": 159
  },
  "hsl": {
    "h": 257.851,
    "s": 61.421,
    "l": 38.627
  },
  "oklch": {
    "l": 0.39723,
    "c": 0.18064,
    "h": 289
  },
  "luminance": 0.05345
}

Semantic roles & 50–950 ramp

primary
#4A269F
secondary
#A4C061
accent
#E543B5
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4A269F

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

Preview Lab → · Contrast checker → · Palette generator →

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