#4A206E#4A206E

#4A206E is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.6% C 0.130 H 305.2°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#4A206E
RGBrgb(74, 32, 110)
HSLhsl(272, 55%, 28%)
HSVhsv(272, 71%, 43%)
CMYKcmyk(32.7%, 70.9%, 0%, 56.9%)
CIE-LABlab(22.35, 35.46, -37.45)
CIE-LCHlch(22.35, 51.57, 313.44°)
OKLaboklab(34.62% 0.0751 -0.1063)
OKLCHoklch(34.62% 0.13 305.2)
XYZxyz(6.1544, 3.6147, 15.1223)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A206E #446E20
analogous
#23206E #4A206E #6E206B
triadic
#4A206E #6E4A20 #206E4A
tetradic
#4A206E #6E2320 #446E20 #206B6E
square
#4A206E #6E2320 #446E20 #206B6E
split-complementary
#4A206E #6B6E20 #206E23
monochromatic
#100718 #2A123F #4A206E #6A2E9D #8941C8

Accessibility & contrast

On white

12.19
#4A206E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A206E
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A206E#FFFFFF#000000##FFFFFF
##4A206E1.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003470
Deuteranopia (green-blind)
#07366C
Tritanopia (blue-blind)
#443144
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #4a206e;
/* rgb */ color: rgb(74, 32, 110);
/* oklch */ color: oklch(34.6% 0.130 305.2);
Tailwind
colors: {
  custom: {
    50: '#805f98',
    500: '#4a206e',
    950: '#000000',
  },
}
SCSS
$custom: #4a206e;
$custom-light: #805f98;
$custom-dark: #000000;
JSON
{
  "hex": "#4a206e",
  "rgb": {
    "r": 74,
    "g": 32,
    "b": 110
  },
  "hsl": {
    "h": 272.308,
    "s": 54.93,
    "l": 27.843
  },
  "oklch": {
    "l": 0.34621,
    "c": 0.1301,
    "h": 305.2
  },
  "luminance": 0.03615
}

Semantic roles & 50–950 ramp

primary
#4A206E
secondary
#71A248
accent
#DE4A8E
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #4A206E

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

Preview Lab → · Contrast checker → · Palette generator →

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