#4F1263#4F1263

#4F1263 is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.9% C 0.138 H 316.0°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#4F1263
RGBrgb(79, 18, 99)
HSLhsl(285, 69%, 23%)
HSVhsv(285, 82%, 39%)
CMYKcmyk(20.2%, 81.8%, 0%, 61.2%)
CIE-LABlab(20.03, 40.33, -33.99)
CIE-LCHlch(20.03, 52.74, 319.88°)
OKLaboklab(32.86% 0.0994 -0.0958)
OKLCHoklch(32.86% 0.138 316)
XYZxyz(5.6925, 2.9960, 12.0804)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1263 #266312
analogous
#261263 #4F1263 #63124E
triadic
#4F1263 #634F12 #12634F
tetradic
#4F1263 #632612 #266312 #124E63
square
#4F1263 #632612 #266312 #124E63
split-complementary
#4F1263 #4E6312 #126326
monochromatic
#15051A #26092F #4F1263 #781B97 #A225CB

Accessibility & contrast

On white

13.13
#4F1263 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#4F1263 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1263
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1263#FFFFFF#000000##FFFFFF
##4F12631.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D65
Deuteranopia (green-blind)
#113261
Tritanopia (blue-blind)
#4E243A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4f1263;
/* rgb */ color: rgb(79, 18, 99);
/* oklch */ color: oklch(32.9% 0.138 316.0);
Tailwind
colors: {
  custom: {
    50: '#845890',
    500: '#4f1263',
    950: '#000000',
  },
}
SCSS
$custom: #4f1263;
$custom-light: #845890;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1263",
  "rgb": {
    "r": 79,
    "g": 18,
    "b": 99
  },
  "hsl": {
    "h": 285.185,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.3286,
    "c": 0.13804,
    "h": 316
  },
  "luminance": 0.02996
}

Semantic roles & 50–950 ramp

primary
#4F1263
secondary
#4F9B36
accent
#EC3C67
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4F1263

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

Preview Lab → · Contrast checker → · Palette generator →

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