#4A207F#4A207F

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

Color values

HEX#4A207F
RGBrgb(74, 32, 127)
HSLhsl(267, 60%, 31%)
HSVhsv(267, 75%, 50%)
CMYKcmyk(41.7%, 74.8%, 0%, 50.2%)
CIE-LABlab(23.74, 39.97, -46.06)
CIE-LCHlch(23.74, 60.99, 310.95°)
OKLaboklab(36.04% 0.0721 -0.1316)
OKLCHoklch(36.04% 0.15 298.7)
XYZxyz(7.1703, 4.0211, 20.4729)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A207F #557F20
analogous
#20267F #4A207F #79207F
triadic
#4A207F #7F4A20 #207F4A
tetradic
#4A207F #7F2026 #557F20 #207F79
square
#4A207F #7F2026 #557F20 #207F79
split-complementary
#4A207F #7F7920 #267F20
monochromatic
#11071D #2E144E #4A207F #662CB0 #8548D1

Accessibility & contrast

On white

11.64
#4A207F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A207F
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A207F#FFFFFF#000000##FFFFFF
##4A207F1.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003982
Deuteranopia (green-blind)
#00387D
Tritanopia (blue-blind)
#3D384D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4a207f;
/* rgb */ color: rgb(74, 32, 127);
/* oklch */ color: oklch(36.0% 0.150 298.7);
Tailwind
colors: {
  custom: {
    50: '#8260a5',
    500: '#4a207f',
    950: '#000000',
  },
}
SCSS
$custom: #4a207f;
$custom-light: #8260a5;
$custom-dark: #000000;
JSON
{
  "hex": "#4a207f",
  "rgb": {
    "r": 74,
    "g": 32,
    "b": 127
  },
  "hsl": {
    "h": 266.526,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.36044,
    "c": 0.15003,
    "h": 298.7
  },
  "luminance": 0.04021
}

Semantic roles & 50–950 ramp

primary
#4A207F
secondary
#83B249
accent
#E3459D
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #4A207F

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

Preview Lab → · Contrast checker → · Palette generator →

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