#4B206B#4B206B

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

Color values

HEX#4B206B
RGBrgb(75, 32, 107)
HSLhsl(274, 54%, 27%)
HSVhsv(274, 70%, 42%)
CMYKcmyk(29.9%, 70.1%, 0%, 58%)
CIE-LABlab(22.27, 34.92, -35.63)
CIE-LCHlch(22.27, 49.89, 314.42°)
OKLaboklab(34.52% 0.0769 -0.1009)
OKLCHoklch(34.52% 0.127 307.3)
XYZxyz(6.0714, 3.5905, 14.2803)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B206B #406B20
analogous
#26206B #4B206B #6B2066
triadic
#4B206B #6B4B20 #206B4B
tetradic
#4B206B #6B2620 #406B20 #20666B
square
#4B206B #6B2620 #406B20 #20666B
split-complementary
#4B206B #666B20 #206B26
monochromatic
#110718 #2A123C #4B206B #6C2E9A #8D40C6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B206B#FFFFFF#000000##FFFFFF
##4B206B1.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)
#00346D
Deuteranopia (green-blind)
#0F3669
Tritanopia (blue-blind)
#463042
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #4b206b;
/* rgb */ color: rgb(75, 32, 107);
/* oklch */ color: oklch(34.5% 0.127 307.3);
Tailwind
colors: {
  custom: {
    50: '#805f96',
    500: '#4b206b',
    950: '#000000',
  },
}
SCSS
$custom: #4b206b;
$custom-light: #805f96;
$custom-dark: #000000;
JSON
{
  "hex": "#4b206b",
  "rgb": {
    "r": 75,
    "g": 32,
    "b": 107
  },
  "hsl": {
    "h": 274.4,
    "s": 53.957,
    "l": 27.255
  },
  "oklch": {
    "l": 0.34518,
    "c": 0.12686,
    "h": 307.3
  },
  "luminance": 0.0359
}

Semantic roles & 50–950 ramp

primary
#4B206B
secondary
#6D9F48
accent
#DD4A89
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050D
muted
#7C797E

Preview Lab

Preview with #4B206B

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

Preview Lab → · Contrast checker → · Palette generator →

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