#4F1979#4F1979

#4F1979 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.4% C 0.153 H 305.2°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#4F1979
RGBrgb(79, 25, 121)
HSLhsl(274, 66%, 29%)
HSVhsv(274, 79%, 47%)
CMYKcmyk(34.7%, 79.3%, 0%, 52.5%)
CIE-LABlab(22.79, 42.63, -43.78)
CIE-LCHlch(22.79, 61.10, 314.24°)
OKLaboklab(35.36% 0.088 -0.1246)
OKLCHoklch(35.36% 0.153 305.2)
XYZxyz(7.0225, 3.7380, 18.4370)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1979 #437919
analogous
#1F1979 #4F1979 #791973
triadic
#4F1979 #794F19 #19794F
tetradic
#4F1979 #791F19 #437919 #197379
square
#4F1979 #791F19 #437919 #197379
split-complementary
#4F1979 #737919 #19791F
monochromatic
#110519 #2E0F46 #4F1979 #7023AC #9037D6

Accessibility & contrast

On white

12.02
#4F1979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#4F1979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1979
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1979#FFFFFF#000000##FFFFFF
##4F19791.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357C
Deuteranopia (green-blind)
#003677
Tritanopia (blue-blind)
#473148
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4f1979;
/* rgb */ color: rgb(79, 25, 121);
/* oklch */ color: oklch(35.4% 0.153 305.2);
Tailwind
colors: {
  custom: {
    50: '#855ca0',
    500: '#4f1979',
    950: '#000000',
  },
}
SCSS
$custom: #4f1979;
$custom-light: #855ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1979",
  "rgb": {
    "r": 79,
    "g": 25,
    "b": 121
  },
  "hsl": {
    "h": 273.75,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.35362,
    "c": 0.15257,
    "h": 305.2
  },
  "luminance": 0.03738
}

Semantic roles & 50–950 ramp

primary
#4F1979
secondary
#70AE40
accent
#E93F89
background
#F8F5FA
surface
#F0E9F3
border
#CBC5CD
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #4F1979

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

Preview Lab → · Contrast checker → · Palette generator →

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