#4B2D86#4B2D86

#4B2D86 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.6% C 0.141 H 294.3°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#4B2D86
RGBrgb(75, 45, 134)
HSLhsl(260, 50%, 35%)
HSVhsv(260, 66%, 53%)
CMYKcmyk(44%, 66.4%, 0%, 47.5%)
CIE-LABlab(27.00, 35.07, -45.15)
CIE-LCHlch(27.00, 57.17, 307.83°)
OKLaboklab(38.58% 0.0582 -0.1289)
OKLCHoklch(38.58% 0.141 294.3)
XYZxyz(8.1420, 5.0936, 23.1038)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2D86 #68862D
analogous
#2D3B86 #4B2D86 #782D86
triadic
#4B2D86 #864B2D #2D864B
tetradic
#4B2D86 #862D3B #68862D #2D8678
square
#4B2D86 #862D3B #68862D #2D8678
split-complementary
#4B2D86 #86782D #3B862D
monochromatic
#180E2A #311E58 #4B2D86 #653CB4 #8663CB

Accessibility & contrast

On white

10.40
#4B2D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#4B2D86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2D86
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2D86#FFFFFF#000000##FFFFFF
##4B2D861.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004189
Deuteranopia (green-blind)
#003E84
Tritanopia (blue-blind)
#3B4255
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4b2d86;
/* rgb */ color: rgb(75, 45, 134);
/* oklch */ color: oklch(38.6% 0.141 294.3);
Tailwind
colors: {
  custom: {
    50: '#8268aa',
    500: '#4b2d86',
    950: '#000000',
  },
}
SCSS
$custom: #4b2d86;
$custom-light: #8268aa;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2d86",
  "rgb": {
    "r": 75,
    "g": 45,
    "b": 134
  },
  "hsl": {
    "h": 260.225,
    "s": 49.721,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38583,
    "c": 0.14147,
    "h": 294.3
  },
  "luminance": 0.05094
}

Semantic roles & 50–950 ramp

primary
#4B2D86
secondary
#95B15E
accent
#D94FAA
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4B2D86

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

Preview Lab → · Contrast checker → · Palette generator →

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