#4B2F94#4B2F94

#4B2F94 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.1% C 0.157 H 290.2°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#4B2F94
RGBrgb(75, 47, 148)
HSLhsl(257, 52%, 38%)
HSVhsv(257, 68%, 58%)
CMYKcmyk(49.3%, 68.2%, 0%, 42%)
CIE-LABlab(28.56, 38.04, -51.29)
CIE-LCHlch(28.56, 63.86, 306.56°)
OKLaboklab(40.06% 0.0542 -0.147)
OKLCHoklch(40.06% 0.157 290.2)
XYZxyz(9.2619, 5.6666, 28.6170)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2F94 #78942F
analogous
#2F4594 #4B2F94 #7D2F94
triadic
#4B2F94 #944B2F #2F944B
tetradic
#4B2F94 #942F45 #78942F #2F947D
square
#4B2F94 #942F45 #78942F #2F947D
split-complementary
#4B2F94 #947D2F #45942F
monochromatic
#1C1137 #332066 #4B2F94 #633EC2 #886DD1

Accessibility & contrast

On white

9.84
#4B2F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#4B2F94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2F94
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2F94#FFFFFF#000000##FFFFFF
##4B2F941.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004597
Deuteranopia (green-blind)
#004192
Tritanopia (blue-blind)
#33485D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4b2f94;
/* rgb */ color: rgb(75, 47, 148);
/* oklch */ color: oklch(40.1% 0.157 290.2);
Tailwind
colors: {
  custom: {
    50: '#8469b4',
    500: '#4b2f94',
    950: '#000000',
  },
}
SCSS
$custom: #4b2f94;
$custom-light: #8469b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2f94",
  "rgb": {
    "r": 75,
    "g": 47,
    "b": 148
  },
  "hsl": {
    "h": 256.634,
    "s": 51.795,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40059,
    "c": 0.15666,
    "h": 290.2
  },
  "luminance": 0.05667
}

Semantic roles & 50–950 ramp

primary
#4B2F94
secondary
#A1B867
accent
#DB4DB4
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #4B2F94

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

Preview Lab → · Contrast checker → · Palette generator →

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