#4B207A#4B207A

#4B207A is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.7% C 0.144 H 301.1°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#4B207A
RGBrgb(75, 32, 122)
HSLhsl(269, 58%, 30%)
HSVhsv(269, 74%, 48%)
CMYKcmyk(38.5%, 73.8%, 0%, 52.2%)
CIE-LABlab(23.45, 38.83, -43.35)
CIE-LCHlch(23.45, 58.20, 311.85°)
OKLaboklab(35.74% 0.0746 -0.1236)
OKLCHoklch(35.74% 0.144 301.1)
XYZxyz(6.9302, 3.9340, 18.8028)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B207A #4F7A20
analogous
#20227A #4B207A #78207A
triadic
#4B207A #7A4B20 #207A4B
tetradic
#4B207A #7A2022 #4F7A20 #207A78
square
#4B207A #7A2022 #4F7A20 #207A78
split-complementary
#4B207A #7A7820 #227A20
monochromatic
#0F0719 #2D134A #4B207A #692DAA #8746CE

Accessibility & contrast

On white

11.75
#4B207A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#4B207A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B207A
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B207A#FFFFFF#000000##FFFFFF
##4B207A1.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377D
Deuteranopia (green-blind)
#003778
Tritanopia (blue-blind)
#41364B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4b207a;
/* rgb */ color: rgb(75, 32, 122);
/* oklch */ color: oklch(35.7% 0.144 301.1);
Tailwind
colors: {
  custom: {
    50: '#825fa1',
    500: '#4b207a',
    950: '#000000',
  },
}
SCSS
$custom: #4b207a;
$custom-light: #825fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#4b207a",
  "rgb": {
    "r": 75,
    "g": 32,
    "b": 122
  },
  "hsl": {
    "h": 268.667,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.35736,
    "c": 0.14438,
    "h": 301.1
  },
  "luminance": 0.03934
}

Semantic roles & 50–950 ramp

primary
#4B207A
secondary
#7DAD49
accent
#E24697
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #4B207A

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

Preview Lab → · Contrast checker → · Palette generator →

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