#4B2AB7#4B2AB7

#4B2AB7 is a dark, highly saturated violet. Relative luminance 0.066; OKLCH L 42.6% C 0.204 H 284.4°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#4B2AB7
RGBrgb(75, 42, 183)
HSLhsl(254, 63%, 44%)
HSVhsv(254, 77%, 72%)
CMYKcmyk(59%, 77%, 0%, 28.2%)
CIE-LABlab(30.81, 50.97, -68.73)
CIE-LCHlch(30.81, 85.57, 306.56°)
OKLaboklab(42.63% 0.0507 -0.198)
OKLCHoklch(42.63% 0.204 284.4)
XYZxyz(12.2742, 6.5699, 45.4119)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2AB7 #96B72A
analogous
#2A4FB7 #4B2AB7 #922AB7
triadic
#4B2AB7 #B74B2A #2AB74B
tetradic
#4B2AB7 #B72A4F #96B72A #2AB792
square
#4B2AB7 #B72A4F #96B72A #2AB792
split-complementary
#4B2AB7 #B7922A #4FB72A
monochromatic
#221353 #371F85 #4B2AB7 #6A49D5 #937BE1

Accessibility & contrast

On white

9.07
#4B2AB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#4B2AB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2AB7
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2AB7#FFFFFF#000000##FFFFFF
##4B2AB71.009.072.319.07
#FFFFFF9.071.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBB
Deuteranopia (green-blind)
#0044B4
Tritanopia (blue-blind)
#06536F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4b2ab7;
/* rgb */ color: rgb(75, 42, 183);
/* oklch */ color: oklch(42.6% 0.204 284.4);
Tailwind
colors: {
  custom: {
    50: '#8a68ce',
    500: '#4b2ab7',
    950: '#000000',
  },
}
SCSS
$custom: #4b2ab7;
$custom-light: #8a68ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2ab7",
  "rgb": {
    "r": 75,
    "g": 42,
    "b": 183
  },
  "hsl": {
    "h": 254.043,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.42632,
    "c": 0.20444,
    "h": 284.4
  },
  "luminance": 0.06571
}

Semantic roles & 50–950 ramp

primary
#4B2AB7
secondary
#B5C974
accent
#E642BF
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #4B2AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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