#4F1265#4F1265

#4F1265 is a dark, vivid purple. Relative luminance 0.030; OKLCH L 33.0% C 0.140 H 315.0°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#4F1265
RGBrgb(79, 18, 101)
HSLhsl(284, 70%, 23%)
HSVhsv(284, 82%, 40%)
CMYKcmyk(21.8%, 82.2%, 0%, 60.4%)
CIE-LABlab(20.18, 40.77, -35.05)
CIE-LCHlch(20.18, 53.77, 319.31°)
OKLaboklab(33.02% 0.099 -0.0989)
OKLCHoklch(33.02% 0.14 315)
XYZxyz(5.7893, 3.0347, 12.5902)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1265 #286512
analogous
#251265 #4F1265 #651251
triadic
#4F1265 #654F12 #12654F
tetradic
#4F1265 #652512 #286512 #125165
square
#4F1265 #652512 #286512 #125165
split-complementary
#4F1265 #516512 #126525
monochromatic
#14051A #260931 #4F1265 #781B99 #A025CD

Accessibility & contrast

On white

13.07
#4F1265 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F1265
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1265#FFFFFF#000000##FFFFFF
##4F12651.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f1265;
/* rgb */ color: rgb(79, 18, 101);
/* oklch */ color: oklch(33.0% 0.140 315.0);
Tailwind
colors: {
  custom: {
    50: '#845891',
    500: '#4f1265',
    950: '#000000',
  },
}
SCSS
$custom: #4f1265;
$custom-light: #845891;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1265",
  "rgb": {
    "r": 79,
    "g": 18,
    "b": 101
  },
  "hsl": {
    "h": 284.096,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.33018,
    "c": 0.13998,
    "h": 315
  },
  "luminance": 0.03034
}

Semantic roles & 50–950 ramp

primary
#4F1265
secondary
#519D36
accent
#ED3B6A
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4F1265

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

Preview Lab → · Contrast checker → · Palette generator →

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