#4F1264#4F1264

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

Color values

HEX#4F1264
RGBrgb(79, 18, 100)
HSLhsl(285, 69%, 23%)
HSVhsv(285, 82%, 39%)
CMYKcmyk(21%, 82%, 0%, 60.8%)
CIE-LABlab(20.10, 40.55, -34.52)
CIE-LCHlch(20.10, 53.25, 319.59°)
OKLaboklab(32.94% 0.0992 -0.0974)
OKLCHoklch(32.94% 0.139 315.5)
XYZxyz(5.7406, 3.0152, 12.3337)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1264 #276412
analogous
#261264 #4F1264 #641250
triadic
#4F1264 #644F12 #12644F
tetradic
#4F1264 #642612 #276412 #125064
square
#4F1264 #642612 #276412 #125064
split-complementary
#4F1264 #506412 #126426
monochromatic
#14051A #260930 #4F1264 #781B98 #A125CC

Accessibility & contrast

On white

13.10
#4F1264 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F1264
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1264#FFFFFF#000000##FFFFFF
##4F12641.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D66
Deuteranopia (green-blind)
#0F3262
Tritanopia (blue-blind)
#4D253B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4f1264;
/* rgb */ color: rgb(79, 18, 100);
/* oklch */ color: oklch(32.9% 0.139 315.5);
Tailwind
colors: {
  custom: {
    50: '#845891',
    500: '#4f1264',
    950: '#000000',
  },
}
SCSS
$custom: #4f1264;
$custom-light: #845891;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1264",
  "rgb": {
    "r": 79,
    "g": 18,
    "b": 100
  },
  "hsl": {
    "h": 284.634,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.32939,
    "c": 0.13901,
    "h": 315.5
  },
  "luminance": 0.03015
}

Semantic roles & 50–950 ramp

primary
#4F1264
secondary
#509C36
accent
#EC3B69
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040D
muted
#7C797D

Preview Lab

Preview with #4F1264

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

Preview Lab → · Contrast checker → · Palette generator →

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