#4B2E90#4B2E90

#4B2E90 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.6% C 0.153 H 291.4°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#4B2E90
RGBrgb(75, 46, 144)
HSLhsl(258, 52%, 37%)
HSVhsv(258, 68%, 56%)
CMYKcmyk(47.9%, 68.1%, 0%, 43.5%)
CIE-LABlab(28.02, 37.42, -49.71)
CIE-LCHlch(28.02, 62.22, 306.98°)
OKLaboklab(39.57% 0.0559 -0.1423)
OKLCHoklch(39.57% 0.153 291.4)
XYZxyz(8.9113, 5.4631, 26.9651)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2E90 #73902E
analogous
#2E4290 #4B2E90 #7C2E90
triadic
#4B2E90 #904B2E #2E904B
tetradic
#4B2E90 #902E42 #73902E #2E907C
square
#4B2E90 #902E42 #73902E #2E907C
split-complementary
#4B2E90 #907C2E #42902E
monochromatic
#1B1033 #331F62 #4B2E90 #633DBE #8769CF

Accessibility & contrast

On white

10.04
#4B2E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#4B2E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2E90
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2E90#FFFFFF#000000##FFFFFF
##4B2E901.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004493
Deuteranopia (green-blind)
#00408E
Tritanopia (blue-blind)
#36465B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4b2e90;
/* rgb */ color: rgb(75, 46, 144);
/* oklch */ color: oklch(39.6% 0.153 291.4);
Tailwind
colors: {
  custom: {
    50: '#8469b1',
    500: '#4b2e90',
    950: '#000000',
  },
}
SCSS
$custom: #4b2e90;
$custom-light: #8469b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2e90",
  "rgb": {
    "r": 75,
    "g": 46,
    "b": 144
  },
  "hsl": {
    "h": 257.755,
    "s": 51.579,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39568,
    "c": 0.1529,
    "h": 291.4
  },
  "luminance": 0.05463
}

Semantic roles & 50–950 ramp

primary
#4B2E90
secondary
#9EB664
accent
#DB4DB1
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #4B2E90

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

Preview Lab → · Contrast checker → · Palette generator →

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