#4A269E#4A269E

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

Color values

HEX#4A269E
RGBrgb(74, 38, 158)
HSLhsl(258, 61%, 38%)
HSVhsv(258, 76%, 62%)
CMYKcmyk(53.2%, 75.9%, 0%, 38%)
CIE-LABlab(27.60, 45.62, -58.97)
CIE-LCHlch(27.60, 74.56, 307.72°)
OKLaboklab(39.63% 0.059 -0.1695)
OKLCHoklch(39.63% 0.179 289.2)
XYZxyz(9.6869, 5.3102, 32.8557)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A269E #7A9E26
analogous
#263E9E #4A269E #86269E
triadic
#4A269E #9E4A26 #269E4A
tetradic
#4A269E #9E263E #7A9E26 #269E86
square
#4A269E #9E263E #7A9E26 #269E86
split-complementary
#4A269E #9E8626 #3E9E26
monochromatic
#1C0E3B #331A6D #4A269E #6233CE #8865DA

Accessibility & contrast

On white

10.18
#4A269E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A269E
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A269E#FFFFFF#000000##FFFFFF
##4A269E1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#003E9C
Tritanopia (blue-blind)
#2A4760
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4a269e;
/* rgb */ color: rgb(74, 38, 158);
/* oklch */ color: oklch(39.6% 0.179 289.2);
Tailwind
colors: {
  custom: {
    50: '#8664bc',
    500: '#4a269e',
    950: '#000000',
  },
}
SCSS
$custom: #4a269e;
$custom-light: #8664bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4a269e",
  "rgb": {
    "r": 74,
    "g": 38,
    "b": 158
  },
  "hsl": {
    "h": 258,
    "s": 61.224,
    "l": 38.431
  },
  "oklch": {
    "l": 0.39628,
    "c": 0.17947,
    "h": 289.2
  },
  "luminance": 0.05311
}

Semantic roles & 50–950 ramp

primary
#4A269E
secondary
#A3C060
accent
#E443B4
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4A269E

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

Preview Lab → · Contrast checker → · Palette generator →

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