#4A207E#4A207E

#4A207E is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.0% C 0.149 H 299.1°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#4A207E
RGBrgb(74, 32, 126)
HSLhsl(267, 59%, 31%)
HSVhsv(267, 75%, 49%)
CMYKcmyk(41.3%, 74.6%, 0%, 50.6%)
CIE-LABlab(23.66, 39.70, -45.57)
CIE-LCHlch(23.66, 60.44, 311.07°)
OKLaboklab(35.96% 0.0723 -0.1301)
OKLCHoklch(35.96% 0.149 299.1)
XYZxyz(7.1055, 3.9951, 20.1314)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A207E #547E20
analogous
#20257E #4A207E #79207E
triadic
#4A207E #7E4A20 #207E4A
tetradic
#4A207E #7E2025 #547E20 #207E79
square
#4A207E #7E2025 #547E20 #207E79
split-complementary
#4A207E #7E7920 #257E20
monochromatic
#11071C #2D144D #4A207E #672CAF #8548D0

Accessibility & contrast

On white

11.67
#4A207E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#4A207E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A207E
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A207E#FFFFFF#000000##FFFFFF
##4A207E1.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003881
Deuteranopia (green-blind)
#00377C
Tritanopia (blue-blind)
#3E374D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4a207e;
/* rgb */ color: rgb(74, 32, 126);
/* oklch */ color: oklch(36.0% 0.149 299.1);
Tailwind
colors: {
  custom: {
    50: '#8260a4',
    500: '#4a207e',
    950: '#000000',
  },
}
SCSS
$custom: #4a207e;
$custom-light: #8260a4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a207e",
  "rgb": {
    "r": 74,
    "g": 32,
    "b": 126
  },
  "hsl": {
    "h": 266.809,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.35956,
    "c": 0.14887,
    "h": 299.1
  },
  "luminance": 0.03995
}

Semantic roles & 50–950 ramp

primary
#4A207E
secondary
#82B149
accent
#E3459C
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #4A207E

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

Preview Lab → · Contrast checker → · Palette generator →

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