#4A207C#4A207C

#4A207C is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.8% C 0.147 H 299.8°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#4A207C
RGBrgb(74, 32, 124)
HSLhsl(267, 59%, 31%)
HSVhsv(267, 74%, 49%)
CMYKcmyk(40.3%, 74.2%, 0%, 51.4%)
CIE-LABlab(23.49, 39.16, -44.58)
CIE-LCHlch(23.49, 59.34, 311.30°)
OKLaboklab(35.78% 0.0727 -0.1272)
OKLCHoklch(35.78% 0.147 299.8)
XYZxyz(6.9777, 3.9440, 19.4585)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A207C #527C20
analogous
#20247C #4A207C #78207C
triadic
#4A207C #7C4A20 #207C4A
tetradic
#4A207C #7C2024 #527C20 #207C78
square
#4A207C #7C2024 #527C20 #207C78
split-complementary
#4A207C #7C7820 #247C20
monochromatic
#10071B #2D134B #4A207C #672DAD #8547CF

Accessibility & contrast

On white

11.74
#4A207C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A207C
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A207C#FFFFFF#000000##FFFFFF
##4A207C1.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387F
Deuteranopia (green-blind)
#00377A
Tritanopia (blue-blind)
#3E374C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4a207c;
/* rgb */ color: rgb(74, 32, 124);
/* oklch */ color: oklch(35.8% 0.147 299.8);
Tailwind
colors: {
  custom: {
    50: '#815fa3',
    500: '#4a207c',
    950: '#000000',
  },
}
SCSS
$custom: #4a207c;
$custom-light: #815fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#4a207c",
  "rgb": {
    "r": 74,
    "g": 32,
    "b": 124
  },
  "hsl": {
    "h": 267.391,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.35783,
    "c": 0.14654,
    "h": 299.8
  },
  "luminance": 0.03944
}

Semantic roles & 50–950 ramp

primary
#4A207C
secondary
#80AF49
accent
#E2469B
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #4A207C

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

Preview Lab → · Contrast checker → · Palette generator →

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