#4F1269#4F1269

#4F1269 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.3% C 0.144 H 313.0°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#4F1269
RGBrgb(79, 18, 105)
HSLhsl(282, 71%, 24%)
HSVhsv(282, 83%, 41%)
CMYKcmyk(24.8%, 82.9%, 0%, 58.8%)
CIE-LABlab(20.50, 41.65, -37.16)
CIE-LCHlch(20.50, 55.82, 318.26°)
OKLaboklab(33.34% 0.0982 -0.1051)
OKLCHoklch(33.34% 0.144 313)
XYZxyz(5.9901, 3.1150, 13.6476)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1269 #2C6912
analogous
#241269 #4F1269 #691258
triadic
#4F1269 #694F12 #12694F
tetradic
#4F1269 #692412 #2C6912 #125869
square
#4F1269 #692412 #2C6912 #125869
split-complementary
#4F1269 #586912 #126924
monochromatic
#14041A #280935 #4F1269 #761B9D #9E24D1

Accessibility & contrast

On white

12.94
#4F1269 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#4F1269 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1269
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1269#FFFFFF#000000##FFFFFF
##4F12691.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6B
Deuteranopia (green-blind)
#063367
Tritanopia (blue-blind)
#4C273E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4f1269;
/* rgb */ color: rgb(79, 18, 105);
/* oklch */ color: oklch(33.3% 0.144 313.0);
Tailwind
colors: {
  custom: {
    50: '#845894',
    500: '#4f1269',
    950: '#000000',
  },
}
SCSS
$custom: #4f1269;
$custom-light: #845894;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1269",
  "rgb": {
    "r": 79,
    "g": 18,
    "b": 105
  },
  "hsl": {
    "h": 282.069,
    "s": 70.732,
    "l": 24.118
  },
  "oklch": {
    "l": 0.33341,
    "c": 0.14388,
    "h": 313
  },
  "luminance": 0.03115
}

Semantic roles & 50–950 ramp

primary
#4F1269
secondary
#56A136
accent
#ED3A70
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4F1269

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

Preview Lab → · Contrast checker → · Palette generator →

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