#4B207F#4B207F

#4B207F is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.2% C 0.150 H 299.4°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#4B207F
RGBrgb(75, 32, 127)
HSLhsl(267, 60%, 31%)
HSVhsv(267, 75%, 50%)
CMYKcmyk(40.9%, 74.8%, 0%, 50.2%)
CIE-LABlab(23.87, 40.17, -45.84)
CIE-LCHlch(23.87, 60.95, 311.23°)
OKLaboklab(36.17% 0.0736 -0.1309)
OKLCHoklch(36.17% 0.15 299.4)
XYZxyz(7.2480, 4.0611, 20.4766)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B207F #547F20
analogous
#20247F #4B207F #7A207F
triadic
#4B207F #7F4B20 #207F4B
tetradic
#4B207F #7F2024 #547F20 #207F7A
square
#4B207F #7F2024 #547F20 #207F7A
split-complementary
#4B207F #7F7A20 #247F20
monochromatic
#11071D #2E144E #4B207F #682CB0 #8648D1

Accessibility & contrast

On white

11.59
#4B207F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#4B207F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B207F
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B207F#FFFFFF#000000##FFFFFF
##4B207F1.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003982
Deuteranopia (green-blind)
#00387D
Tritanopia (blue-blind)
#3F384D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4b207f;
/* rgb */ color: rgb(75, 32, 127);
/* oklch */ color: oklch(36.2% 0.150 299.4);
Tailwind
colors: {
  custom: {
    50: '#8260a5',
    500: '#4b207f',
    950: '#000000',
  },
}
SCSS
$custom: #4b207f;
$custom-light: #8260a5;
$custom-dark: #000000;
JSON
{
  "hex": "#4b207f",
  "rgb": {
    "r": 75,
    "g": 32,
    "b": 127
  },
  "hsl": {
    "h": 267.158,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.36166,
    "c": 0.15018,
    "h": 299.4
  },
  "luminance": 0.04061
}

Semantic roles & 50–950 ramp

primary
#4B207F
secondary
#82B249
accent
#E3459B
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #4B207F

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

Preview Lab → · Contrast checker → · Palette generator →

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