#4F2153#4F2153

#4F2153 is a dark, moderate purple. Relative luminance 0.034; OKLCH L 33.6% C 0.100 H 324.4°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#4F2153
RGBrgb(79, 33, 83)
HSLhsl(295, 43%, 23%)
HSVhsv(295, 60%, 33%)
CMYKcmyk(4.8%, 60.2%, 0%, 67.5%)
CIE-LABlab(21.49, 29.80, -21.02)
CIE-LCHlch(21.49, 36.47, 324.80°)
OKLaboklab(33.57% 0.081 -0.0581)
OKLCHoklch(33.57% 0.1 324.4)
XYZxyz(5.3295, 3.3748, 8.5526)
Luminance0.0338 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2153 #255321
analogous
#362153 #4F2153 #53213E
triadic
#4F2153 #534F21 #21534F
tetradic
#4F2153 #533621 #255321 #213E53
square
#4F2153 #533621 #255321 #213E53
split-complementary
#4F2153 #3E5321 #215336
monochromatic
#150916 #251027 #4F2153 #79327F #A244AB

Accessibility & contrast

On white

12.54
#4F2153 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F2153
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2153#FFFFFF#000000##FFFFFF
##4F21531.0012.541.6812.54
#FFFFFF12.541.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3055
Deuteranopia (green-blind)
#293552
Tritanopia (blue-blind)
#512836
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4f2153;
/* rgb */ color: rgb(79, 33, 83);
/* oklch */ color: oklch(33.6% 0.100 324.4);
Tailwind
colors: {
  custom: {
    50: '#825f83',
    500: '#4f2153',
    950: '#000000',
  },
}
SCSS
$custom: #4f2153;
$custom-light: #825f83;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2153",
  "rgb": {
    "r": 79,
    "g": 33,
    "b": 83
  },
  "hsl": {
    "h": 295.2,
    "s": 43.103,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33568,
    "c": 0.09972,
    "h": 324.4
  },
  "luminance": 0.03375
}

Semantic roles & 50–950 ramp

primary
#4F2153
secondary
#4E8749
accent
#D3555F
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B050A
muted
#7C797C

Preview Lab

Preview with #4F2153

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

Preview Lab → · Contrast checker → · Palette generator →

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