#4B254F#4B254F

#4B254F is a dark, moderate purple. Relative luminance 0.034; OKLCH L 33.4% C 0.085 H 323.7°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#4B254F
RGBrgb(75, 37, 79)
HSLhsl(294, 36%, 23%)
HSVhsv(294, 53%, 31%)
CMYKcmyk(5.1%, 53.2%, 0%, 69%)
CIE-LABlab(21.52, 25.31, -18.33)
CIE-LCHlch(21.52, 31.25, 324.09°)
OKLaboklab(33.39% 0.0686 -0.0505)
OKLCHoklch(33.39% 0.085 323.7)
XYZxyz(4.9744, 3.3837, 7.7867)
Luminance0.0338 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B254F #294F25
analogous
#36254F #4B254F #4F253E
triadic
#4B254F #4F4B25 #254F4B
tetradic
#4B254F #4F3625 #294F25 #253E4F
square
#4B254F #4F3625 #294F25 #253E4F
split-complementary
#4B254F #3E4F25 #254F36
monochromatic
#140A15 #231125 #4B254F #733979 #9A4CA2

Accessibility & contrast

On white

12.52
#4B254F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#4B254F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B254F
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B254F#FFFFFF#000000##FFFFFF
##4B254F1.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203150
Deuteranopia (green-blind)
#2B354E
Tritanopia (blue-blind)
#4C2A36
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4b254f;
/* rgb */ color: rgb(75, 37, 79);
/* oklch */ color: oklch(33.4% 0.085 323.7);
Tailwind
colors: {
  custom: {
    50: '#7e6180',
    500: '#4b254f',
    950: '#000000',
  },
}
SCSS
$custom: #4b254f;
$custom-light: #7e6180;
$custom-dark: #000000;
JSON
{
  "hex": "#4b254f",
  "rgb": {
    "r": 75,
    "g": 37,
    "b": 79
  },
  "hsl": {
    "h": 294.286,
    "s": 36.207,
    "l": 22.745
  },
  "oklch": {
    "l": 0.3339,
    "c": 0.08517,
    "h": 323.7
  },
  "luminance": 0.03384
}

Semantic roles & 50–950 ramp

primary
#4B254F
secondary
#53824E
accent
#CC5C66
background
#F7F5F7
surface
#EEEAEE
border
#C9C6C9
text
#0A050A
muted
#7C797C

Preview Lab

Preview with #4B254F

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

Preview Lab → · Contrast checker → · Palette generator →

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