#4B2D90#4B2D90

#4B2D90 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.4% C 0.154 H 291.7°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#4B2D90
RGBrgb(75, 45, 144)
HSLhsl(258, 52%, 37%)
HSVhsv(258, 69%, 56%)
CMYKcmyk(47.9%, 68.7%, 0%, 43.5%)
CIE-LABlab(27.81, 37.99, -50.05)
CIE-LCHlch(27.81, 62.83, 307.20°)
OKLaboklab(39.42% 0.0569 -0.1433)
OKLCHoklch(39.42% 0.154 291.7)
XYZxyz(8.8727, 5.3859, 26.9522)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2D90 #72902D
analogous
#2D4090 #4B2D90 #7D2D90
triadic
#4B2D90 #904B2D #2D904B
tetradic
#4B2D90 #902D40 #72902D #2D907D
square
#4B2D90 #902D40 #72902D #2D907D
split-complementary
#4B2D90 #907D2D #40902D
monochromatic
#1A1033 #331E61 #4B2D90 #633CBF #8768D0

Accessibility & contrast

On white

10.11
#4B2D90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#4B2D90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2D90
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2D90#FFFFFF#000000##FFFFFF
##4B2D901.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004393
Deuteranopia (green-blind)
#00408E
Tritanopia (blue-blind)
#36455A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4b2d90;
/* rgb */ color: rgb(75, 45, 144);
/* oklch */ color: oklch(39.4% 0.154 291.7);
Tailwind
colors: {
  custom: {
    50: '#8468b1',
    500: '#4b2d90',
    950: '#000000',
  },
}
SCSS
$custom: #4b2d90;
$custom-light: #8468b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2d90",
  "rgb": {
    "r": 75,
    "g": 45,
    "b": 144
  },
  "hsl": {
    "h": 258.182,
    "s": 52.381,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39418,
    "c": 0.15421,
    "h": 291.7
  },
  "luminance": 0.05386
}

Semantic roles & 50–950 ramp

primary
#4B2D90
secondary
#9DB662
accent
#DC4CB0
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #4B2D90

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

Preview Lab → · Contrast checker → · Palette generator →

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