#4F1267#4F1267

#4F1267 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.2% C 0.142 H 314.0°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#4F1267
RGBrgb(79, 18, 103)
HSLhsl(283, 70%, 24%)
HSVhsv(283, 83%, 40%)
CMYKcmyk(23.3%, 82.5%, 0%, 59.6%)
CIE-LABlab(20.34, 41.21, -36.11)
CIE-LCHlch(20.34, 54.79, 318.77°)
OKLaboklab(33.18% 0.0986 -0.1021)
OKLCHoklch(33.18% 0.142 314)
XYZxyz(5.8885, 3.0744, 13.1126)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1267 #2A6712
analogous
#241267 #4F1267 #671254
triadic
#4F1267 #674F12 #12674F
tetradic
#4F1267 #672412 #2A6712 #125467
square
#4F1267 #672412 #2A6712 #125467
split-complementary
#4F1267 #546712 #126724
monochromatic
#14051A #270933 #4F1267 #771B9B #9F24CF

Accessibility & contrast

On white

13.00
#4F1267 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#4F1267 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1267
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1267#FFFFFF#000000##FFFFFF
##4F12671.0013.001.6113.00
#FFFFFF13.001.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E69
Deuteranopia (green-blind)
#0A3265
Tritanopia (blue-blind)
#4D263C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4f1267;
/* rgb */ color: rgb(79, 18, 103);
/* oklch */ color: oklch(33.2% 0.142 314.0);
Tailwind
colors: {
  custom: {
    50: '#845893',
    500: '#4f1267',
    950: '#000000',
  },
}
SCSS
$custom: #4f1267;
$custom-light: #845893;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1267",
  "rgb": {
    "r": 79,
    "g": 18,
    "b": 103
  },
  "hsl": {
    "h": 283.059,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.33178,
    "c": 0.14192,
    "h": 314
  },
  "luminance": 0.03074
}

Semantic roles & 50–950 ramp

primary
#4F1267
secondary
#549F36
accent
#ED3B6D
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4F1267

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

Preview Lab → · Contrast checker → · Palette generator →

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