#4A269D#4A269D

#4A269D is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.5% C 0.178 H 289.4°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#4A269D
RGBrgb(74, 38, 157)
HSLhsl(258, 61%, 38%)
HSVhsv(258, 76%, 62%)
CMYKcmyk(52.9%, 75.8%, 0%, 38.4%)
CIE-LABlab(27.51, 45.33, -58.52)
CIE-LCHlch(27.51, 74.02, 307.76°)
OKLaboklab(39.53% 0.0592 -0.1682)
OKLCHoklch(39.53% 0.178 289.4)
XYZxyz(9.6012, 5.2760, 32.4042)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A269D #799D26
analogous
#263D9D #4A269D #85269D
triadic
#4A269D #9D4A26 #269D4A
tetradic
#4A269D #9D263D #799D26 #269D85
square
#4A269D #9D263D #799D26 #269D85
split-complementary
#4A269D #9D8526 #3D9D26
monochromatic
#1C0E3A #331A6C #4A269D #6233CE #8764D9

Accessibility & contrast

On white

10.22
#4A269D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A269D
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A269D#FFFFFF#000000##FFFFFF
##4A269D1.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A0
Deuteranopia (green-blind)
#003E9B
Tritanopia (blue-blind)
#2B4760
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4a269d;
/* rgb */ color: rgb(74, 38, 157);
/* oklch */ color: oklch(39.5% 0.178 289.4);
Tailwind
colors: {
  custom: {
    50: '#8664bb',
    500: '#4a269d',
    950: '#000000',
  },
}
SCSS
$custom: #4a269d;
$custom-light: #8664bb;
$custom-dark: #000000;
JSON
{
  "hex": "#4a269d",
  "rgb": {
    "r": 74,
    "g": 38,
    "b": 157
  },
  "hsl": {
    "h": 258.151,
    "s": 61.026,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39534,
    "c": 0.17831,
    "h": 289.4
  },
  "luminance": 0.05276
}

Semantic roles & 50–950 ramp

primary
#4A269D
secondary
#A2BF60
accent
#E444B4
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4A269D

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

Preview Lab → · Contrast checker → · Palette generator →

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