#4A206B#4A206B

#4A206B is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.4% C 0.127 H 306.6°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#4A206B
RGBrgb(74, 32, 107)
HSLhsl(274, 54%, 27%)
HSVhsv(274, 70%, 42%)
CMYKcmyk(30.8%, 70.1%, 0%, 58%)
CIE-LABlab(22.13, 34.68, -35.87)
CIE-LCHlch(22.13, 49.90, 314.03°)
OKLaboklab(34.38% 0.0754 -0.1016)
OKLCHoklch(34.38% 0.127 306.6)
XYZxyz(5.9938, 3.5505, 14.2766)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A206B #416B20
analogous
#25206B #4A206B #6B2067
triadic
#4A206B #6B4A20 #206B4A
tetradic
#4A206B #6B2520 #416B20 #20676B
square
#4A206B #6B2520 #416B20 #20676B
split-complementary
#4A206B #676B20 #206B25
monochromatic
#100718 #29123C #4A206B #6B2E9A #8B40C6

Accessibility & contrast

On white

12.28
#4A206B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#4A206B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A206B
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A206B#FFFFFF#000000##FFFFFF
##4A206B1.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346D
Deuteranopia (green-blind)
#0D3569
Tritanopia (blue-blind)
#443042
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #4a206b;
/* rgb */ color: rgb(74, 32, 107);
/* oklch */ color: oklch(34.4% 0.127 306.6);
Tailwind
colors: {
  custom: {
    50: '#805f96',
    500: '#4a206b',
    950: '#000000',
  },
}
SCSS
$custom: #4a206b;
$custom-light: #805f96;
$custom-dark: #000000;
JSON
{
  "hex": "#4a206b",
  "rgb": {
    "r": 74,
    "g": 32,
    "b": 107
  },
  "hsl": {
    "h": 273.6,
    "s": 53.957,
    "l": 27.255
  },
  "oklch": {
    "l": 0.34384,
    "c": 0.12656,
    "h": 306.6
  },
  "luminance": 0.0355
}

Semantic roles & 50–950 ramp

primary
#4A206B
secondary
#6E9F48
accent
#DD4A8B
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A050D
muted
#7C797E

Preview Lab

Preview with #4A206B

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

Preview Lab → · Contrast checker → · Palette generator →

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