#4B218F#4B218F

#4B218F is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.7% C 0.167 H 294.2°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#4B218F
RGBrgb(75, 33, 143)
HSLhsl(263, 63%, 35%)
HSVhsv(263, 77%, 56%)
CMYKcmyk(47.6%, 76.9%, 0%, 43.9%)
CIE-LABlab(25.46, 44.02, -53.26)
CIE-LCHlch(25.46, 69.09, 309.57°)
OKLaboklab(37.72% 0.0688 -0.1527)
OKLCHoklch(37.72% 0.167 294.2)
XYZxyz(8.4021, 4.5665, 26.4200)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B218F #658F21
analogous
#212E8F #4B218F #82218F
triadic
#4B218F #8F4B21 #218F4B
tetradic
#4B218F #8F212E #658F21 #218F82
square
#4B218F #8F212E #658F21 #218F82
split-complementary
#4B218F #8F8221 #2E8F21
monochromatic
#170A2C #31165D #4B218F #652CC1 #8653D7

Accessibility & contrast

On white

10.98
#4B218F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#4B218F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B218F
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B218F#FFFFFF#000000##FFFFFF
##4B218F1.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D92
Deuteranopia (green-blind)
#003A8D
Tritanopia (blue-blind)
#373F57
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4b218f;
/* rgb */ color: rgb(75, 33, 143);
/* oklch */ color: oklch(37.7% 0.167 294.2);
Tailwind
colors: {
  custom: {
    50: '#8461b1',
    500: '#4b218f',
    950: '#000000',
  },
}
SCSS
$custom: #4b218f;
$custom-light: #8461b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4b218f",
  "rgb": {
    "r": 75,
    "g": 33,
    "b": 143
  },
  "hsl": {
    "h": 262.909,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.37725,
    "c": 0.16745,
    "h": 294.2
  },
  "luminance": 0.04567
}

Semantic roles & 50–950 ramp

primary
#4B218F
secondary
#92BB51
accent
#E642A7
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4B218F

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

Preview Lab → · Contrast checker → · Palette generator →

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