#4B207D#4B207D

#4B207D is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.0% C 0.148 H 300.0°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#4B207D
RGBrgb(75, 32, 125)
HSLhsl(268, 59%, 31%)
HSVhsv(268, 74%, 49%)
CMYKcmyk(40%, 74.4%, 0%, 51%)
CIE-LABlab(23.70, 39.63, -44.85)
CIE-LCHlch(23.70, 59.85, 311.46°)
OKLaboklab(35.99% 0.074 -0.128)
OKLCHoklch(35.99% 0.148 300)
XYZxyz(7.1189, 4.0095, 19.7969)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B207D #527D20
analogous
#20237D #4B207D #79207D
triadic
#4B207D #7D4B20 #207D4B
tetradic
#4B207D #7D2023 #527D20 #207D79
square
#4B207D #7D2023 #527D20 #207D79
split-complementary
#4B207D #7D7920 #237D20
monochromatic
#11071C #2E144C #4B207D #682CAE #8747D0

Accessibility & contrast

On white

11.65
#4B207D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B207D
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B207D#FFFFFF#000000##FFFFFF
##4B207D1.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b207d;
/* rgb */ color: rgb(75, 32, 125);
/* oklch */ color: oklch(36.0% 0.148 300.0);
Tailwind
colors: {
  custom: {
    50: '#8260a3',
    500: '#4b207d',
    950: '#000000',
  },
}
SCSS
$custom: #4b207d;
$custom-light: #8260a3;
$custom-dark: #000000;
JSON
{
  "hex": "#4b207d",
  "rgb": {
    "r": 75,
    "g": 32,
    "b": 125
  },
  "hsl": {
    "h": 267.742,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35993,
    "c": 0.14786,
    "h": 300
  },
  "luminance": 0.0401
}

Semantic roles & 50–950 ramp

primary
#4B207D
secondary
#80B049
accent
#E2459A
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #4B207D

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

Preview Lab → · Contrast checker → · Palette generator →

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