#4B2293#4B2293

#4B2293 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.2% C 0.171 H 293.0°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#4B2293
RGBrgb(75, 34, 147)
HSLhsl(262, 62%, 35%)
HSVhsv(262, 77%, 58%)
CMYKcmyk(49%, 76.9%, 0%, 42.4%)
CIE-LABlab(26.00, 44.64, -54.85)
CIE-LCHlch(26.00, 70.72, 309.14°)
OKLaboklab(38.21% 0.0668 -0.1574)
OKLCHoklch(38.21% 0.171 293)
XYZxyz(8.7387, 4.7462, 28.0538)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2293 #6A9322
analogous
#223193 #4B2293 #832293
triadic
#4B2293 #934B22 #22934B
tetradic
#4B2293 #932231 #6A9322 #229383
square
#4B2293 #932231 #6A9322 #229383
split-complementary
#4B2293 #938322 #319322
monochromatic
#180B30 #321761 #4B2293 #642DC5 #8657D8

Accessibility & contrast

On white

10.77
#4B2293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#4B2293 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2293
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2293#FFFFFF#000000##FFFFFF
##4B22931.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F96
Deuteranopia (green-blind)
#003B91
Tritanopia (blue-blind)
#344159
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4b2293;
/* rgb */ color: rgb(75, 34, 147);
/* oklch */ color: oklch(38.2% 0.171 293.0);
Tailwind
colors: {
  custom: {
    50: '#8562b4',
    500: '#4b2293',
    950: '#000000',
  },
}
SCSS
$custom: #4b2293;
$custom-light: #8562b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2293",
  "rgb": {
    "r": 75,
    "g": 34,
    "b": 147
  },
  "hsl": {
    "h": 261.77,
    "s": 62.431,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38215,
    "c": 0.17096,
    "h": 293
  },
  "luminance": 0.04746
}

Semantic roles & 50–950 ramp

primary
#4B2293
secondary
#97BC55
accent
#E542AA
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4B2293

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

Preview Lab → · Contrast checker → · Palette generator →

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