#4B2FAC#4B2FAC

#4B2FAC is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.2% C 0.186 H 285.5°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#4B2FAC
RGBrgb(75, 47, 172)
HSLhsl(253, 57%, 43%)
HSVhsv(253, 73%, 67%)
CMYKcmyk(56.4%, 72.7%, 0%, 32.5%)
CIE-LABlab(30.66, 45.20, -62.41)
CIE-LCHlch(30.66, 77.06, 305.91°)
OKLaboklab(42.21% 0.0498 -0.1796)
OKLCHoklch(42.21% 0.186 285.5)
XYZxyz(11.3623, 6.5068, 39.6789)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2FAC #90AC2F
analogous
#2F51AC #4B2FAC #892FAC
triadic
#4B2FAC #AC4B2F #2FAC4B
tetradic
#4B2FAC #AC2F51 #90AC2F #2FAC89
square
#4B2FAC #AC2F51 #90AC2F #2FAC89
split-complementary
#4B2FAC #AC892F #51AC2F
monochromatic
#21154C #36227C #4B2FAC #684BCE #907BDB

Accessibility & contrast

On white

9.12
#4B2FAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#4B2FAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2FAC
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2FAC#FFFFFF#000000##FFFFFF
##4B2FAC1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB0
Deuteranopia (green-blind)
#0044AA
Tritanopia (blue-blind)
#1D516A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4b2fac;
/* rgb */ color: rgb(75, 47, 172);
/* oklch */ color: oklch(42.2% 0.186 285.5);
Tailwind
colors: {
  custom: {
    50: '#886ac6',
    500: '#4b2fac',
    950: '#000000',
  },
}
SCSS
$custom: #4b2fac;
$custom-light: #886ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2fac",
  "rgb": {
    "r": 75,
    "g": 47,
    "b": 172
  },
  "hsl": {
    "h": 253.44,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.42208,
    "c": 0.18639,
    "h": 285.5
  },
  "luminance": 0.06507
}

Semantic roles & 50–950 ramp

primary
#4B2FAC
secondary
#B1C374
accent
#E047BE
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4B2FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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