#4F2263#4F2263

#4F2263 is a dark, moderate purple. Relative luminance 0.037; OKLCH L 34.8% C 0.116 H 314.0°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#4F2263
RGBrgb(79, 34, 99)
HSLhsl(282, 49%, 26%)
HSVhsv(282, 66%, 39%)
CMYKcmyk(20.2%, 65.7%, 0%, 61.2%)
CIE-LABlab(22.68, 32.90, -29.73)
CIE-LCHlch(22.68, 44.34, 317.90°)
OKLaboklab(34.76% 0.0805 -0.0834)
OKLCHoklch(34.76% 0.116 314)
XYZxyz(6.0482, 3.7074, 12.1989)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2263 #366322
analogous
#2E2263 #4F2263 #632256
triadic
#4F2263 #634F22 #22634F
tetradic
#4F2263 #632E22 #366322 #225663
square
#4F2263 #632E22 #366322 #225663
split-complementary
#4F2263 #566322 #22632E
monochromatic
#120817 #2B1235 #4F2263 #733291 #9841BE

Accessibility & contrast

On white

12.06
#4F2263 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#4F2263 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2263
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2263#FFFFFF#000000##FFFFFF
##4F22631.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3465
Deuteranopia (green-blind)
#1F3761
Tritanopia (blue-blind)
#4D2E3F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4f2263;
/* rgb */ color: rgb(79, 34, 99);
/* oklch */ color: oklch(34.8% 0.116 314.0);
Tailwind
colors: {
  custom: {
    50: '#836090',
    500: '#4f2263',
    950: '#000000',
  },
}
SCSS
$custom: #4f2263;
$custom-light: #836090;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2263",
  "rgb": {
    "r": 79,
    "g": 34,
    "b": 99
  },
  "hsl": {
    "h": 281.538,
    "s": 48.872,
    "l": 26.078
  },
  "oklch": {
    "l": 0.34759,
    "c": 0.11593,
    "h": 314
  },
  "luminance": 0.03707
}

Semantic roles & 50–950 ramp

primary
#4F2263
secondary
#62974A
accent
#D84F7A
background
#F8F5F8
surface
#EFEAF0
border
#CAC6CB
text
#0B050C
muted
#7C797D

Preview Lab

Preview with #4F2263

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

Preview Lab → · Contrast checker → · Palette generator →

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