#4B207B#4B207B

#4B207B is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.8% C 0.146 H 300.8°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#4B207B
RGBrgb(75, 32, 123)
HSLhsl(268, 59%, 30%)
HSVhsv(268, 74%, 48%)
CMYKcmyk(39%, 74%, 0%, 51.8%)
CIE-LABlab(23.54, 39.10, -43.85)
CIE-LCHlch(23.54, 58.75, 311.72°)
OKLaboklab(35.82% 0.0745 -0.1251)
OKLCHoklch(35.82% 0.146 300.8)
XYZxyz(6.9924, 3.9589, 19.1308)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B207B #507B20
analogous
#20227B #4B207B #79207B
triadic
#4B207B #7B4B20 #207B4B
tetradic
#4B207B #7B2022 #507B20 #207B79
square
#4B207B #7B2022 #507B20 #207B79
split-complementary
#4B207B #7B7920 #227B20
monochromatic
#10071A #2D134A #4B207B #692DAC #8746CF

Accessibility & contrast

On white

11.72
#4B207B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B207B
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B207B#FFFFFF#000000##FFFFFF
##4B207B1.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387E
Deuteranopia (green-blind)
#003779
Tritanopia (blue-blind)
#40364B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4b207b;
/* rgb */ color: rgb(75, 32, 123);
/* oklch */ color: oklch(35.8% 0.146 300.8);
Tailwind
colors: {
  custom: {
    50: '#825fa2',
    500: '#4b207b',
    950: '#000000',
  },
}
SCSS
$custom: #4b207b;
$custom-light: #825fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#4b207b",
  "rgb": {
    "r": 75,
    "g": 32,
    "b": 123
  },
  "hsl": {
    "h": 268.352,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.35821,
    "c": 0.14555,
    "h": 300.8
  },
  "luminance": 0.03959
}

Semantic roles & 50–950 ramp

primary
#4B207B
secondary
#7EAE49
accent
#E24698
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #4B207B

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

Preview Lab → · Contrast checker → · Palette generator →

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