#4A268D#4A268D

#4A268D is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.1% C 0.159 H 293.3°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#4A268D
RGBrgb(74, 38, 141)
HSLhsl(261, 58%, 35%)
HSVhsv(261, 73%, 55%)
CMYKcmyk(47.5%, 73%, 0%, 44.7%)
CIE-LABlab(26.05, 40.77, -51.05)
CIE-LCHlch(26.05, 65.33, 308.61°)
OKLaboklab(38.06% 0.0631 -0.1463)
OKLCHoklch(38.06% 0.159 293.3)
XYZxyz(8.3235, 4.7649, 25.6753)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A268D #698D26
analogous
#26358D #4A268D #7E268D
triadic
#4A268D #8D4A26 #268D4A
tetradic
#4A268D #8D2635 #698D26 #268D7E
square
#4A268D #8D2635 #698D26 #268D7E
split-complementary
#4A268D #8D7E26 #358D26
monochromatic
#170C2D #31195D #4A268D #6333BD #855BD3

Accessibility & contrast

On white

10.75
#4A268D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#4A268D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A268D
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A268D#FFFFFF#000000##FFFFFF
##4A268D1.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F90
Deuteranopia (green-blind)
#003C8B
Tritanopia (blue-blind)
#364057
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4a268d;
/* rgb */ color: rgb(74, 38, 141);
/* oklch */ color: oklch(38.1% 0.159 293.3);
Tailwind
colors: {
  custom: {
    50: '#8364af',
    500: '#4a268d',
    950: '#000000',
  },
}
SCSS
$custom: #4a268d;
$custom-light: #8364af;
$custom-dark: #000000;
JSON
{
  "hex": "#4a268d",
  "rgb": {
    "r": 74,
    "g": 38,
    "b": 141
  },
  "hsl": {
    "h": 260.971,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38061,
    "c": 0.1593,
    "h": 293.3
  },
  "luminance": 0.04765
}

Semantic roles & 50–950 ramp

primary
#4A268D
secondary
#96B857
accent
#E147AB
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #4A268D

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

Preview Lab → · Contrast checker → · Palette generator →

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