#4F1165#4F1165

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

Color values

HEX#4F1165
RGBrgb(79, 17, 101)
HSLhsl(284, 71%, 23%)
HSVhsv(284, 83%, 40%)
CMYKcmyk(21.8%, 83.2%, 0%, 60.4%)
CIE-LABlab(20.06, 41.14, -35.26)
CIE-LCHlch(20.06, 54.18, 319.40°)
OKLaboklab(32.93% 0.0999 -0.0995)
OKLCHoklch(32.93% 0.141 315.1)
XYZxyz(5.7735, 3.0030, 12.5849)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1165 #276511
analogous
#251165 #4F1165 #651151
triadic
#4F1165 #654F11 #11654F
tetradic
#4F1165 #652511 #276511 #115165
square
#4F1165 #652511 #276511 #115165
split-complementary
#4F1165 #516511 #116525
monochromatic
#14041A #260831 #4F1165 #781A99 #A123CE

Accessibility & contrast

On white

13.12
#4F1165 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F1165
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1165#FFFFFF#000000##FFFFFF
##4F11651.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f1165;
/* rgb */ color: rgb(79, 17, 101);
/* oklch */ color: oklch(32.9% 0.141 315.1);
Tailwind
colors: {
  custom: {
    50: '#845891',
    500: '#4f1165',
    950: '#000000',
  },
}
SCSS
$custom: #4f1165;
$custom-light: #845891;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1165",
  "rgb": {
    "r": 79,
    "g": 17,
    "b": 101
  },
  "hsl": {
    "h": 284.286,
    "s": 71.186,
    "l": 23.137
  },
  "oklch": {
    "l": 0.32929,
    "c": 0.14105,
    "h": 315.1
  },
  "luminance": 0.03003
}

Semantic roles & 50–950 ramp

primary
#4F1165
secondary
#509D35
accent
#EE3A69
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4F1165

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

Preview Lab → · Contrast checker → · Palette generator →

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