#4B2BAF#4B2BAF

#4B2BAF is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.0% C 0.194 H 285.6°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#4B2BAF
RGBrgb(75, 43, 175)
HSLhsl(255, 61%, 43%)
HSVhsv(255, 75%, 69%)
CMYKcmyk(57.1%, 75.4%, 0%, 31.4%)
CIE-LABlab(30.20, 48.16, -64.96)
CIE-LCHlch(30.20, 80.87, 306.56°)
OKLaboklab(41.97% 0.0522 -0.187)
OKLCHoklch(41.97% 0.194 285.6)
XYZxyz(11.5011, 6.3181, 41.1626)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2BAF #8FAF2B
analogous
#2B4DAF #4B2BAF #8D2BAF
triadic
#4B2BAF #AF4B2B #2BAF4B
tetradic
#4B2BAF #AF2B4D #8FAF2B #2BAF8D
square
#4B2BAF #AF2B4D #8FAF2B #2BAF8D
split-complementary
#4B2BAF #AF8D2B #4DAF2B
monochromatic
#21134D #361F7E #4B2BAF #6846D1 #9077DE

Accessibility & contrast

On white

9.28
#4B2BAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#4B2BAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2BAF
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2BAF#FFFFFF#000000##FFFFFF
##4B2BAF1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB3
Deuteranopia (green-blind)
#0043AD
Tritanopia (blue-blind)
#19506B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4b2baf;
/* rgb */ color: rgb(75, 43, 175);
/* oklch */ color: oklch(42.0% 0.194 285.6);
Tailwind
colors: {
  custom: {
    50: '#8968c8',
    500: '#4b2baf',
    950: '#000000',
  },
}
SCSS
$custom: #4b2baf;
$custom-light: #8968c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2baf",
  "rgb": {
    "r": 75,
    "g": 43,
    "b": 175
  },
  "hsl": {
    "h": 254.545,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.41972,
    "c": 0.19418,
    "h": 285.6
  },
  "luminance": 0.06319
}

Semantic roles & 50–950 ramp

primary
#4B2BAF
secondary
#B1C570
accent
#E444BD
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4B2BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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