#4B2DB7#4B2DB7

#4B2DB7 is a dark, highly saturated violet. Relative luminance 0.068; OKLCH L 43.0% C 0.202 H 284.0°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#4B2DB7
RGBrgb(75, 45, 183)
HSLhsl(253, 61%, 45%)
HSVhsv(253, 75%, 72%)
CMYKcmyk(59%, 75.4%, 0%, 28.2%)
CIE-LABlab(31.33, 49.50, -67.87)
CIE-LCHlch(31.33, 84.00, 306.10°)
OKLaboklab(43% 0.0487 -0.1956)
OKLCHoklch(43% 0.202 284)
XYZxyz(12.3847, 6.7907, 45.4487)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2DB7 #99B72D
analogous
#2D54B7 #4B2DB7 #902DB7
triadic
#4B2DB7 #B74B2D #2DB74B
tetradic
#4B2DB7 #B72D54 #99B72D #2DB790
square
#4B2DB7 #B72D54 #99B72D #2DB790
split-complementary
#4B2DB7 #B7902D #54B72D
monochromatic
#231555 #372186 #4B2DB7 #6B4ED3 #947FDF

Accessibility & contrast

On white

8.90
#4B2DB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B2DB7
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2DB7#FFFFFF#000000##FFFFFF
##4B2DB71.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBB
Deuteranopia (green-blind)
#0045B4
Tritanopia (blue-blind)
#055470
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4b2db7;
/* rgb */ color: rgb(75, 45, 183);
/* oklch */ color: oklch(43.0% 0.202 284.0);
Tailwind
colors: {
  custom: {
    50: '#8a6ace',
    500: '#4b2db7',
    950: '#000000',
  },
}
SCSS
$custom: #4b2db7;
$custom-light: #8a6ace;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2db7",
  "rgb": {
    "r": 75,
    "g": 45,
    "b": 183
  },
  "hsl": {
    "h": 253.043,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.42995,
    "c": 0.20155,
    "h": 284
  },
  "luminance": 0.06792
}

Semantic roles & 50–950 ramp

primary
#4B2DB7
secondary
#B7C878
accent
#E444C1
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4B2DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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