#4B2CA7#4B2CA7

#4B2CA7 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.3% C 0.184 H 286.9°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#4B2CA7
RGBrgb(75, 44, 167)
HSLhsl(255, 58%, 41%)
HSVhsv(255, 74%, 65%)
CMYKcmyk(55.1%, 73.7%, 0%, 34.5%)
CIE-LABlab(29.63, 45.31, -61.09)
CIE-LCHlch(29.63, 76.06, 306.56°)
OKLaboklab(41.34% 0.0534 -0.1757)
OKLCHoklch(41.34% 0.184 286.9)
XYZxyz(10.7753, 6.0867, 37.1588)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2CA7 #88A72C
analogous
#2C4BA7 #4B2CA7 #892CA7
triadic
#4B2CA7 #A74B2C #2CA74B
tetradic
#4B2CA7 #A72C4B #88A72C #2CA789
square
#4B2CA7 #A72C4B #88A72C #2CA789
split-complementary
#4B2CA7 #A7892C #4BA72C
monochromatic
#1F1246 #351F77 #4B2CA7 #6643CD #8D73DA

Accessibility & contrast

On white

9.47
#4B2CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#4B2CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2CA7
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2CA7#FFFFFF#000000##FFFFFF
##4B2CA71.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AB
Deuteranopia (green-blind)
#0042A5
Tritanopia (blue-blind)
#244D67
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4b2ca7;
/* rgb */ color: rgb(75, 44, 167);
/* oklch */ color: oklch(41.3% 0.184 286.9);
Tailwind
colors: {
  custom: {
    50: '#8768c2',
    500: '#4b2ca7',
    950: '#000000',
  },
}
SCSS
$custom: #4b2ca7;
$custom-light: #8768c2;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2ca7",
  "rgb": {
    "r": 75,
    "g": 44,
    "b": 167
  },
  "hsl": {
    "h": 255.122,
    "s": 58.294,
    "l": 41.373
  },
  "oklch": {
    "l": 0.4134,
    "c": 0.18365,
    "h": 286.9
  },
  "luminance": 0.06087
}

Semantic roles & 50–950 ramp

primary
#4B2CA7
secondary
#ACC26D
accent
#E246BA
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4B2CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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