#4B2ABC#4B2ABC

#4B2ABC is a dark, highly saturated violet. Relative luminance 0.068; OKLCH L 43.1% C 0.210 H 283.6°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#4B2ABC
RGBrgb(75, 42, 188)
HSLhsl(254, 63%, 45%)
HSVhsv(254, 78%, 74%)
CMYKcmyk(60.1%, 77.7%, 0%, 26.3%)
CIE-LABlab(31.30, 52.41, -70.87)
CIE-LCHlch(31.30, 88.14, 306.49°)
OKLaboklab(43.13% 0.0493 -0.2043)
OKLCHoklch(43.13% 0.21 283.6)
XYZxyz(12.8039, 6.7818, 48.2015)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2ABC #9BBC2A
analogous
#2A52BC #4B2ABC #942ABC
triadic
#4B2ABC #BC4B2A #2ABC4B
tetradic
#4B2ABC #BC2A52 #9BBC2A #2ABC94
square
#4B2ABC #BC2A52 #9BBC2A #2ABC94
split-complementary
#4B2ABC #BC942A #52BC2A
monochromatic
#231458 #371F8A #4B2ABC #6C4CD7 #957EE2

Accessibility & contrast

On white

8.91
#4B2ABC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#4B2ABC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2ABC
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2ABC#FFFFFF#000000##FFFFFF
##4B2ABC1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC0
Deuteranopia (green-blind)
#0045B9
Tritanopia (blue-blind)
#005572
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4b2abc;
/* rgb */ color: rgb(75, 42, 188);
/* oklch */ color: oklch(43.1% 0.210 283.6);
Tailwind
colors: {
  custom: {
    50: '#8b68d1',
    500: '#4b2abc',
    950: '#000000',
  },
}
SCSS
$custom: #4b2abc;
$custom-light: #8b68d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2abc",
  "rgb": {
    "r": 75,
    "g": 42,
    "b": 188
  },
  "hsl": {
    "h": 253.562,
    "s": 63.478,
    "l": 45.098
  },
  "oklch": {
    "l": 0.43129,
    "c": 0.21017,
    "h": 283.6
  },
  "luminance": 0.06783
}

Semantic roles & 50–950 ramp

primary
#4B2ABC
secondary
#B8CB77
accent
#E741C1
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #4B2ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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