#4B2985#4B2985

#4B2985 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 37.9% C 0.146 H 295.6°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#4B2985
RGBrgb(75, 41, 133)
HSLhsl(262, 53%, 34%)
HSVhsv(262, 69%, 52%)
CMYKcmyk(43.6%, 69.2%, 0%, 47.8%)
CIE-LABlab(26.08, 37.06, -46.01)
CIE-LCHlch(26.08, 59.08, 308.85°)
OKLaboklab(37.9% 0.0629 -0.1315)
OKLCHoklch(37.9% 0.146 295.6)
XYZxyz(7.9271, 4.7750, 22.6898)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2985 #638529
analogous
#293585 #4B2985 #792985
triadic
#4B2985 #854B29 #29854B
tetradic
#4B2985 #852935 #638529 #298579
square
#4B2985 #852935 #638529 #298579
split-complementary
#4B2985 #857929 #358529
monochromatic
#160C27 #311B56 #4B2985 #6537B4 #855CCD

Accessibility & contrast

On white

10.74
#4B2985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#4B2985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2985
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2985#FFFFFF#000000##FFFFFF
##4B29851.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E88
Deuteranopia (green-blind)
#003C83
Tritanopia (blue-blind)
#3C3F53
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4b2985;
/* rgb */ color: rgb(75, 41, 133);
/* oklch */ color: oklch(37.9% 0.146 295.6);
Tailwind
colors: {
  custom: {
    50: '#8365a9',
    500: '#4b2985',
    950: '#000000',
  },
}
SCSS
$custom: #4b2985;
$custom-light: #8365a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2985",
  "rgb": {
    "r": 75,
    "g": 41,
    "b": 133
  },
  "hsl": {
    "h": 262.174,
    "s": 52.874,
    "l": 34.118
  },
  "oklch": {
    "l": 0.37898,
    "c": 0.14573,
    "h": 295.6
  },
  "luminance": 0.04775
}

Semantic roles & 50–950 ramp

primary
#4B2985
secondary
#91B258
accent
#DC4CA7
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4B2985

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

Preview Lab → · Contrast checker → · Palette generator →

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