#4B2290#4B2290

#4B2290 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.9% C 0.168 H 293.8°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#4B2290
RGBrgb(75, 34, 144)
HSLhsl(262, 62%, 35%)
HSVhsv(262, 76%, 56%)
CMYKcmyk(47.9%, 76.4%, 0%, 43.5%)
CIE-LABlab(25.72, 43.81, -53.45)
CIE-LCHlch(25.72, 69.11, 309.34°)
OKLaboklab(37.94% 0.0676 -0.1533)
OKLCHoklch(37.94% 0.168 293.8)
XYZxyz(8.5063, 4.6533, 26.8301)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2290 #679022
analogous
#223090 #4B2290 #822290
triadic
#4B2290 #904B22 #22904B
tetradic
#4B2290 #902230 #679022 #229082
square
#4B2290 #902230 #679022 #229082
split-complementary
#4B2290 #908222 #309022
monochromatic
#170B2D #31165E #4B2290 #652EC2 #8655D7

Accessibility & contrast

On white

10.88
#4B2290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#4B2290 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2290
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2290#FFFFFF#000000##FFFFFF
##4B22901.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E93
Deuteranopia (green-blind)
#003B8E
Tritanopia (blue-blind)
#364057
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4b2290;
/* rgb */ color: rgb(75, 34, 144);
/* oklch */ color: oklch(37.9% 0.168 293.8);
Tailwind
colors: {
  custom: {
    50: '#8562b1',
    500: '#4b2290',
    950: '#000000',
  },
}
SCSS
$custom: #4b2290;
$custom-light: #8562b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2290",
  "rgb": {
    "r": 75,
    "g": 34,
    "b": 144
  },
  "hsl": {
    "h": 262.364,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37937,
    "c": 0.16751,
    "h": 293.8
  },
  "luminance": 0.04654
}

Semantic roles & 50–950 ramp

primary
#4B2290
secondary
#94BB53
accent
#E543A9
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4B2290

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

Preview Lab → · Contrast checker → · Palette generator →

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