#4F1081#4F1081

#4F1081 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.3% C 0.169 H 303.2°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#4F1081
RGBrgb(79, 16, 129)
HSLhsl(273, 78%, 28%)
HSVhsv(273, 88%, 51%)
CMYKcmyk(38.8%, 87.6%, 0%, 49.4%)
CIE-LABlab(22.37, 47.86, -49.54)
CIE-LCHlch(22.37, 68.88, 314.01°)
OKLaboklab(35.29% 0.0927 -0.1415)
OKLCHoklch(35.29% 0.169 303.2)
XYZxyz(7.3712, 3.6178, 21.0746)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1081 #428110
analogous
#161081 #4F1081 #81107A
triadic
#4F1081 #814F10 #10814F
tetradic
#4F1081 #811610 #428110 #107A81
square
#4F1081 #811610 #428110 #107A81
split-complementary
#4F1081 #7A8110 #108116
monochromatic
#11031B #2E094B #4F1081 #7017B7 #9127E4

Accessibility & contrast

On white

12.18
#4F1081 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#4F1081 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1081
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1081#FFFFFF#000000##FFFFFF
##4F10811.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003484
Deuteranopia (green-blind)
#00357F
Tritanopia (blue-blind)
#44314B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #4f1081;
/* rgb */ color: rgb(79, 16, 129);
/* oklch */ color: oklch(35.3% 0.169 303.2);
Tailwind
colors: {
  custom: {
    50: '#8659a7',
    500: '#4f1081',
    950: '#000000',
  },
}
SCSS
$custom: #4f1081;
$custom-light: #8659a7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1081",
  "rgb": {
    "r": 79,
    "g": 16,
    "b": 129
  },
  "hsl": {
    "h": 273.451,
    "s": 77.931,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3529,
    "c": 0.16914,
    "h": 303.2
  },
  "luminance": 0.03618
}

Semantic roles & 50–950 ramp

primary
#4F1081
secondary
#6FB736
accent
#F43389
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #4F1081

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

Preview Lab → · Contrast checker → · Palette generator →

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