#4B2F85#4B2F85

#4B2F85 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 38.8% C 0.137 H 294.1°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#4B2F85
RGBrgb(75, 47, 133)
HSLhsl(260, 48%, 35%)
HSVhsv(260, 65%, 52%)
CMYKcmyk(43.6%, 64.7%, 0%, 47.8%)
CIE-LABlab(27.36, 33.60, -43.95)
CIE-LCHlch(27.36, 55.32, 307.40°)
OKLaboklab(38.82% 0.056 -0.1254)
OKLCHoklch(38.82% 0.137 294.1)
XYZxyz(8.1507, 5.2221, 22.7643)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2F85 #69852F
analogous
#2F3E85 #4B2F85 #762F85
triadic
#4B2F85 #854B2F #2F854B
tetradic
#4B2F85 #852F3E #69852F #2F8576
square
#4B2F85 #852F3E #69852F #2F8576
split-complementary
#4B2F85 #85762F #3E852F
monochromatic
#180F2B #311F58 #4B2F85 #643FB2 #8666C9

Accessibility & contrast

On white

10.27
#4B2F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#4B2F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2F85
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2F85#FFFFFF#000000##FFFFFF
##4B2F851.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004288
Deuteranopia (green-blind)
#003F83
Tritanopia (blue-blind)
#3B4355
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4b2f85;
/* rgb */ color: rgb(75, 47, 133);
/* oklch */ color: oklch(38.8% 0.137 294.1);
Tailwind
colors: {
  custom: {
    50: '#8269a9',
    500: '#4b2f85',
    950: '#000000',
  },
}
SCSS
$custom: #4b2f85;
$custom-light: #8269a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2f85",
  "rgb": {
    "r": 75,
    "g": 47,
    "b": 133
  },
  "hsl": {
    "h": 259.535,
    "s": 47.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38819,
    "c": 0.13731,
    "h": 294.1
  },
  "luminance": 0.05222
}

Semantic roles & 50–950 ramp

primary
#4B2F85
secondary
#96B060
accent
#D750AB
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4B2F85

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

Preview Lab → · Contrast checker → · Palette generator →

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