#4B2F93#4B2F93

#4B2F93 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.0% C 0.155 H 290.5°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#4B2F93
RGBrgb(75, 47, 147)
HSLhsl(257, 52%, 38%)
HSVhsv(257, 68%, 58%)
CMYKcmyk(49%, 68%, 0%, 42.4%)
CIE-LABlab(28.47, 37.74, -50.81)
CIE-LCHlch(28.47, 63.29, 306.60°)
OKLaboklab(39.97% 0.0544 -0.1456)
OKLCHoklch(39.97% 0.155 290.5)
XYZxyz(9.1831, 5.6351, 28.2019)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2F93 #77932F
analogous
#2F4593 #4B2F93 #7D2F93
triadic
#4B2F93 #934B2F #2F934B
tetradic
#4B2F93 #932F45 #77932F #2F937D
square
#4B2F93 #932F45 #77932F #2F937D
split-complementary
#4B2F93 #937D2F #45932F
monochromatic
#1C1136 #332065 #4B2F93 #633EC1 #886CD0

Accessibility & contrast

On white

9.87
#4B2F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B2F93
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2F93#FFFFFF#000000##FFFFFF
##4B2F931.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004596
Deuteranopia (green-blind)
#004191
Tritanopia (blue-blind)
#34485D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4b2f93;
/* rgb */ color: rgb(75, 47, 147);
/* oklch */ color: oklch(40.0% 0.155 290.5);
Tailwind
colors: {
  custom: {
    50: '#8469b3',
    500: '#4b2f93',
    950: '#000000',
  },
}
SCSS
$custom: #4b2f93;
$custom-light: #8469b3;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2f93",
  "rgb": {
    "r": 75,
    "g": 47,
    "b": 147
  },
  "hsl": {
    "h": 256.8,
    "s": 51.546,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39974,
    "c": 0.15539,
    "h": 290.5
  },
  "luminance": 0.05635
}

Semantic roles & 50–950 ramp

primary
#4B2F93
secondary
#A1B766
accent
#DB4DB3
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #4B2F93

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

Preview Lab → · Contrast checker → · Palette generator →

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