#4F1475#4F1475

#4F1475 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.5% C 0.154 H 307.5°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#4F1475
RGBrgb(79, 20, 117)
HSLhsl(276, 71%, 27%)
HSVhsv(276, 83%, 46%)
CMYKcmyk(32.5%, 82.9%, 0%, 54.1%)
CIE-LABlab(21.75, 43.67, -42.90)
CIE-LCHlch(21.75, 61.21, 315.51°)
OKLaboklab(34.53% 0.0935 -0.122)
OKLCHoklch(34.53% 0.154 307.5)
XYZxyz(6.6848, 3.4470, 17.1394)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1475 #3A7514
analogous
#1F1475 #4F1475 #75146B
triadic
#4F1475 #754F14 #14754F
tetradic
#4F1475 #751F14 #3A7514 #146B75
square
#4F1475 #751F14 #3A7514 #146B75
split-complementary
#4F1475 #6B7514 #14751F
monochromatic
#12041A #2C0B41 #4F1475 #721DA9 #9529DA

Accessibility & contrast

On white

12.43
#4F1475 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#4F1475 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1475
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1475#FFFFFF#000000##FFFFFF
##4F14751.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003278
Deuteranopia (green-blind)
#003573
Tritanopia (blue-blind)
#492D45
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4f1475;
/* rgb */ color: rgb(79, 20, 117);
/* oklch */ color: oklch(34.5% 0.154 307.5);
Tailwind
colors: {
  custom: {
    50: '#855a9d',
    500: '#4f1475',
    950: '#000000',
  },
}
SCSS
$custom: #4f1475;
$custom-light: #855a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1475",
  "rgb": {
    "r": 79,
    "g": 20,
    "b": 117
  },
  "hsl": {
    "h": 276.495,
    "s": 70.803,
    "l": 26.863
  },
  "oklch": {
    "l": 0.34531,
    "c": 0.15374,
    "h": 307.5
  },
  "luminance": 0.03447
}

Semantic roles & 50–950 ramp

primary
#4F1475
secondary
#66AB3A
accent
#EE3A80
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4F1475

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

Preview Lab → · Contrast checker → · Palette generator →

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