#4B22A0#4B22A0

#4B22A0 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.5% C 0.186 H 289.8°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#4B22A0
RGBrgb(75, 34, 160)
HSLhsl(260, 65%, 38%)
HSVhsv(260, 79%, 63%)
CMYKcmyk(53.1%, 78.8%, 0%, 37.3%)
CIE-LABlab(27.23, 48.24, -60.79)
CIE-LCHlch(27.23, 77.60, 308.43°)
OKLaboklab(39.46% 0.063 -0.1748)
OKLCHoklch(39.46% 0.186 289.8)
XYZxyz(9.8170, 5.1775, 33.7330)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B22A0 #77A022
analogous
#2238A0 #4B22A0 #8A22A0
triadic
#4B22A0 #A04B22 #22A04B
tetradic
#4B22A0 #A02238 #77A022 #22A08A
square
#4B22A0 #A02238 #77A022 #22A08A
split-complementary
#4B22A0 #A08A22 #38A022
monochromatic
#1C0D3B #33176E #4B22A0 #632DD2 #885FDD

Accessibility & contrast

On white

10.32
#4B22A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#4B22A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B22A0
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B22A0#FFFFFF#000000##FFFFFF
##4B22A01.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A4
Deuteranopia (green-blind)
#003D9E
Tritanopia (blue-blind)
#2B4660
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4b22a0;
/* rgb */ color: rgb(75, 34, 160);
/* oklch */ color: oklch(39.5% 0.186 289.8);
Tailwind
colors: {
  custom: {
    50: '#8762bd',
    500: '#4b22a0',
    950: '#000000',
  },
}
SCSS
$custom: #4b22a0;
$custom-light: #8762bd;
$custom-dark: #000000;
JSON
{
  "hex": "#4b22a0",
  "rgb": {
    "r": 75,
    "g": 34,
    "b": 160
  },
  "hsl": {
    "h": 259.524,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39456,
    "c": 0.18578,
    "h": 289.8
  },
  "luminance": 0.05178
}

Semantic roles & 50–950 ramp

primary
#4B22A0
secondary
#A1C25C
accent
#E840B1
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #4B22A0

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

Preview Lab → · Contrast checker → · Palette generator →

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