#4B207C#4B207C

#4B207C is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.9% C 0.147 H 300.4°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#4B207C
RGBrgb(75, 32, 124)
HSLhsl(268, 59%, 31%)
HSVhsv(268, 74%, 49%)
CMYKcmyk(39.5%, 74.2%, 0%, 51.4%)
CIE-LABlab(23.62, 39.36, -44.35)
CIE-LCHlch(23.62, 59.30, 311.59°)
OKLaboklab(35.91% 0.0743 -0.1265)
OKLCHoklch(35.91% 0.147 300.4)
XYZxyz(7.0554, 3.9841, 19.4622)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B207C #517C20
analogous
#20237C #4B207C #79207C
triadic
#4B207C #7C4B20 #207C4B
tetradic
#4B207C #7C2023 #517C20 #207C79
square
#4B207C #7C2023 #517C20 #207C79
split-complementary
#4B207C #7C7920 #237C20
monochromatic
#10071B #2E134B #4B207C #682DAD #8747CF

Accessibility & contrast

On white

11.69
#4B207C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#4B207C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B207C
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B207C#FFFFFF#000000##FFFFFF
##4B207C1.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387F
Deuteranopia (green-blind)
#00387A
Tritanopia (blue-blind)
#40374C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4b207c;
/* rgb */ color: rgb(75, 32, 124);
/* oklch */ color: oklch(35.9% 0.147 300.4);
Tailwind
colors: {
  custom: {
    50: '#8260a3',
    500: '#4b207c',
    950: '#000000',
  },
}
SCSS
$custom: #4b207c;
$custom-light: #8260a3;
$custom-dark: #000000;
JSON
{
  "hex": "#4b207c",
  "rgb": {
    "r": 75,
    "g": 32,
    "b": 124
  },
  "hsl": {
    "h": 268.043,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.35907,
    "c": 0.14671,
    "h": 300.4
  },
  "luminance": 0.03984
}

Semantic roles & 50–950 ramp

primary
#4B207C
secondary
#7FAF49
accent
#E24699
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #4B207C

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

Preview Lab → · Contrast checker → · Palette generator →

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