#4B255B#4B255B

#4B255B is a dark, moderate purple. Relative luminance 0.036; OKLCH L 34.1% C 0.099 H 314.9°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#4B255B
RGBrgb(75, 37, 91)
HSLhsl(282, 42%, 25%)
HSVhsv(282, 59%, 36%)
CMYKcmyk(17.6%, 59.3%, 0%, 64.3%)
CIE-LABlab(22.21, 28.12, -25.24)
CIE-LCHlch(22.21, 37.78, 318.08°)
OKLaboklab(34.13% 0.0702 -0.0705)
OKLCHoklch(34.13% 0.099 314.9)
XYZxyz(5.4512, 3.5745, 10.2983)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B255B #355B25
analogous
#30255B #4B255B #5B2550
triadic
#4B255B #5B4B25 #255B4B
tetradic
#4B255B #5B3025 #355B25 #25505B
square
#4B255B #5B3025 #355B25 #25505B
split-complementary
#4B255B #505B25 #255B30
monochromatic
#120916 #27132F #4B255B #6F3787 #9348B2

Accessibility & contrast

On white

12.25
#4B255B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#4B255B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B255B
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B255B#FFFFFF#000000##FFFFFF
##4B255B1.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17335D
Deuteranopia (green-blind)
#24365A
Tritanopia (blue-blind)
#4A2E3C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #4b255b;
/* rgb */ color: rgb(75, 37, 91);
/* oklch */ color: oklch(34.1% 0.099 314.9);
Tailwind
colors: {
  custom: {
    50: '#7f618a',
    500: '#4b255b',
    950: '#000000',
  },
}
SCSS
$custom: #4b255b;
$custom-light: #7f618a;
$custom-dark: #000000;
JSON
{
  "hex": "#4b255b",
  "rgb": {
    "r": 75,
    "g": 37,
    "b": 91
  },
  "hsl": {
    "h": 282.222,
    "s": 42.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.34126,
    "c": 0.09946,
    "h": 314.9
  },
  "luminance": 0.03574
}

Semantic roles & 50–950 ramp

primary
#4B255B
secondary
#618E4D
accent
#D2567B
background
#F7F5F8
surface
#EEEAF0
border
#C9C6CB
text
#0A050B
muted
#7C797C

Preview Lab

Preview with #4B255B

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

Preview Lab → · Contrast checker → · Palette generator →

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