#4B229A#4B229A

#4B229A is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.9% C 0.179 H 291.2°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#4B229A
RGBrgb(75, 34, 154)
HSLhsl(261, 64%, 37%)
HSVhsv(261, 78%, 60%)
CMYKcmyk(51.3%, 77.9%, 0%, 39.6%)
CIE-LABlab(26.66, 46.58, -58.08)
CIE-LCHlch(26.66, 74.45, 308.73°)
OKLaboklab(38.88% 0.0648 -0.1668)
OKLCHoklch(38.88% 0.179 291.2)
XYZxyz(9.3048, 4.9726, 31.0351)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B229A #719A22
analogous
#22359A #4B229A #87229A
triadic
#4B229A #9A4B22 #229A4B
tetradic
#4B229A #9A2235 #719A22 #229A87
square
#4B229A #9A2235 #719A22 #229A87
split-complementary
#4B229A #9A8722 #359A22
monochromatic
#1A0C36 #331768 #4B229A #632DCC #875BDB

Accessibility & contrast

On white

10.53
#4B229A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#4B229A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B229A
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B229A#FFFFFF#000000##FFFFFF
##4B229A1.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419D
Deuteranopia (green-blind)
#003C98
Tritanopia (blue-blind)
#30445D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4b229a;
/* rgb */ color: rgb(75, 34, 154);
/* oklch */ color: oklch(38.9% 0.179 291.2);
Tailwind
colors: {
  custom: {
    50: '#8662b9',
    500: '#4b229a',
    950: '#000000',
  },
}
SCSS
$custom: #4b229a;
$custom-light: #8662b9;
$custom-dark: #000000;
JSON
{
  "hex": "#4b229a",
  "rgb": {
    "r": 75,
    "g": 34,
    "b": 154
  },
  "hsl": {
    "h": 260.5,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.38877,
    "c": 0.17897,
    "h": 291.2
  },
  "luminance": 0.04973
}

Semantic roles & 50–950 ramp

primary
#4B229A
secondary
#9CBF58
accent
#E741AE
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #4B229A

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

Preview Lab → · Contrast checker → · Palette generator →

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