#4A207D#4A207D

#4A207D is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.9% C 0.148 H 299.4°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#4A207D
RGBrgb(74, 32, 125)
HSLhsl(267, 59%, 31%)
HSVhsv(267, 74%, 49%)
CMYKcmyk(40.8%, 74.4%, 0%, 51%)
CIE-LABlab(23.57, 39.43, -45.07)
CIE-LCHlch(23.57, 59.89, 311.18°)
OKLaboklab(35.87% 0.0725 -0.1287)
OKLCHoklch(35.87% 0.148 299.4)
XYZxyz(7.0413, 3.9695, 19.7933)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A207D #537D20
analogous
#20247D #4A207D #78207D
triadic
#4A207D #7D4A20 #207D4A
tetradic
#4A207D #7D2024 #537D20 #207D78
square
#4A207D #7D2024 #537D20 #207D78
split-complementary
#4A207D #7D7820 #247D20
monochromatic
#10071C #2D144C #4A207D #672CAE #8547D0

Accessibility & contrast

On white

11.71
#4A207D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#4A207D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A207D
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A207D#FFFFFF#000000##FFFFFF
##4A207D1.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003880
Deuteranopia (green-blind)
#00377B
Tritanopia (blue-blind)
#3E374C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4a207d;
/* rgb */ color: rgb(74, 32, 125);
/* oklch */ color: oklch(35.9% 0.148 299.4);
Tailwind
colors: {
  custom: {
    50: '#825fa3',
    500: '#4a207d',
    950: '#000000',
  },
}
SCSS
$custom: #4a207d;
$custom-light: #825fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#4a207d",
  "rgb": {
    "r": 74,
    "g": 32,
    "b": 125
  },
  "hsl": {
    "h": 267.097,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35869,
    "c": 0.1477,
    "h": 299.4
  },
  "luminance": 0.0397
}

Semantic roles & 50–950 ramp

primary
#4A207D
secondary
#81B049
accent
#E2459B
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #4A207D

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

Preview Lab → · Contrast checker → · Palette generator →

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