#4A267D#4A267D

#4A267D is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.7% C 0.140 H 298.1°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#4A267D
RGBrgb(74, 38, 125)
HSLhsl(265, 53%, 32%)
HSVhsv(265, 70%, 49%)
CMYKcmyk(40.8%, 69.6%, 0%, 51%)
CIE-LABlab(24.71, 36.26, -43.22)
CIE-LCHlch(24.71, 56.41, 310.00°)
OKLaboklab(36.68% 0.0659 -0.1233)
OKLCHoklch(36.68% 0.14 298.1)
XYZxyz(7.2179, 4.3226, 19.8521)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A267D #597D26
analogous
#262D7D #4A267D #76267D
triadic
#4A267D #7D4A26 #267D4A
tetradic
#4A267D #7D262D #597D26 #267D76
square
#4A267D #7D262D #597D26 #267D76
split-complementary
#4A267D #7D7626 #2D7D26
monochromatic
#12091F #2E184E #4A267D #6634AC #8453CB

Accessibility & contrast

On white

11.26
#4A267D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#4A267D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A267D
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A267D#FFFFFF#000000##FFFFFF
##4A267D1.0011.261.8611.26
#FFFFFF11.261.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B80
Deuteranopia (green-blind)
#003A7B
Tritanopia (blue-blind)
#3E3A4E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4a267d;
/* rgb */ color: rgb(74, 38, 125);
/* oklch */ color: oklch(36.7% 0.140 298.1);
Tailwind
colors: {
  custom: {
    50: '#8163a3',
    500: '#4a267d',
    950: '#000000',
  },
}
SCSS
$custom: #4a267d;
$custom-light: #8163a3;
$custom-dark: #000000;
JSON
{
  "hex": "#4a267d",
  "rgb": {
    "r": 74,
    "g": 38,
    "b": 125
  },
  "hsl": {
    "h": 264.828,
    "s": 53.374,
    "l": 31.961
  },
  "oklch": {
    "l": 0.36683,
    "c": 0.13979,
    "h": 298.1
  },
  "luminance": 0.04323
}

Semantic roles & 50–950 ramp

primary
#4A267D
secondary
#88AF50
accent
#DD4BA0
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B050F
muted
#7C7A7F

Preview Lab

Preview with #4A267D

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

Preview Lab → · Contrast checker → · Palette generator →

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