#4A206D#4A206D

#4A206D is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.5% C 0.129 H 305.7°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#4A206D
RGBrgb(74, 32, 109)
HSLhsl(273, 55%, 28%)
HSVhsv(273, 71%, 43%)
CMYKcmyk(32.1%, 70.6%, 0%, 57.3%)
CIE-LABlab(22.28, 35.20, -36.92)
CIE-LCHlch(22.28, 51.01, 313.63°)
OKLaboklab(34.54% 0.0752 -0.1047)
OKLCHoklch(34.54% 0.129 305.7)
XYZxyz(6.1003, 3.5930, 14.8372)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A206D #436D20
analogous
#23206D #4A206D #6D206A
triadic
#4A206D #6D4A20 #206D4A
tetradic
#4A206D #6D2320 #436D20 #206A6D
square
#4A206D #6D2320 #436D20 #206A6D
split-complementary
#4A206D #6A6D20 #206D23
monochromatic
#100718 #2A123E #4A206D #6A2E9C #8A40C7

Accessibility & contrast

On white

12.22
#4A206D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#4A206D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A206D
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A206D#FFFFFF#000000##FFFFFF
##4A206D1.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346F
Deuteranopia (green-blind)
#09356B
Tritanopia (blue-blind)
#443143
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #4a206d;
/* rgb */ color: rgb(74, 32, 109);
/* oklch */ color: oklch(34.5% 0.129 305.7);
Tailwind
colors: {
  custom: {
    50: '#805f97',
    500: '#4a206d',
    950: '#000000',
  },
}
SCSS
$custom: #4a206d;
$custom-light: #805f97;
$custom-dark: #000000;
JSON
{
  "hex": "#4a206d",
  "rgb": {
    "r": 74,
    "g": 32,
    "b": 109
  },
  "hsl": {
    "h": 272.727,
    "s": 54.61,
    "l": 27.647
  },
  "oklch": {
    "l": 0.34542,
    "c": 0.12892,
    "h": 305.7
  },
  "luminance": 0.03593
}

Semantic roles & 50–950 ramp

primary
#4A206D
secondary
#70A148
accent
#DE4A8D
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A050D
muted
#7C797E

Preview Lab

Preview with #4A206D

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

Preview Lab → · Contrast checker → · Palette generator →

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