#4B2A85#4B2A85

#4B2A85 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.0% C 0.144 H 295.3°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#4B2A85
RGBrgb(75, 42, 133)
HSLhsl(262, 52%, 34%)
HSVhsv(262, 68%, 52%)
CMYKcmyk(43.6%, 68.4%, 0%, 47.8%)
CIE-LABlab(26.29, 36.50, -45.68)
CIE-LCHlch(26.29, 58.47, 308.62°)
OKLaboklab(38.05% 0.0618 -0.1305)
OKLCHoklch(38.05% 0.144 295.3)
XYZxyz(7.9621, 4.8451, 22.7014)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2A85 #64852A
analogous
#2A3785 #4B2A85 #792A85
triadic
#4B2A85 #854B2A #2A854B
tetradic
#4B2A85 #852A37 #64852A #2A8579
square
#4B2A85 #852A37 #64852A #2A8579
split-complementary
#4B2A85 #85792A #37852A
monochromatic
#170D28 #311B56 #4B2A85 #6539B4 #865DCC

Accessibility & contrast

On white

10.67
#4B2A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#4B2A85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2A85
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2A85#FFFFFF#000000##FFFFFF
##4B2A851.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F88
Deuteranopia (green-blind)
#003D83
Tritanopia (blue-blind)
#3C4054
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4b2a85;
/* rgb */ color: rgb(75, 42, 133);
/* oklch */ color: oklch(38.0% 0.144 295.3);
Tailwind
colors: {
  custom: {
    50: '#8266a9',
    500: '#4b2a85',
    950: '#000000',
  },
}
SCSS
$custom: #4b2a85;
$custom-light: #8266a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2a85",
  "rgb": {
    "r": 75,
    "g": 42,
    "b": 133
  },
  "hsl": {
    "h": 261.758,
    "s": 52,
    "l": 34.314
  },
  "oklch": {
    "l": 0.38046,
    "c": 0.14436,
    "h": 295.3
  },
  "luminance": 0.04845
}

Semantic roles & 50–950 ramp

primary
#4B2A85
secondary
#92B259
accent
#DB4CA8
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4B2A85

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

Preview Lab → · Contrast checker → · Palette generator →

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