#4F1375#4F1375

#4F1375 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.4% C 0.155 H 307.6°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#4F1375
RGBrgb(79, 19, 117)
HSLhsl(277, 72%, 27%)
HSVhsv(277, 84%, 46%)
CMYKcmyk(32.5%, 83.8%, 0%, 54.1%)
CIE-LABlab(21.63, 44.03, -43.10)
CIE-LCHlch(21.63, 61.62, 315.61°)
OKLaboklab(34.44% 0.0944 -0.1226)
OKLCHoklch(34.44% 0.155 307.6)
XYZxyz(6.6675, 3.4125, 17.1336)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1375 #397513
analogous
#1E1375 #4F1375 #75136A
triadic
#4F1375 #754F13 #13754F
tetradic
#4F1375 #751E13 #397513 #136A75
square
#4F1375 #751E13 #397513 #136A75
split-complementary
#4F1375 #6A7513 #13751E
monochromatic
#12041A #2B0A40 #4F1375 #731CAA #9627DC

Accessibility & contrast

On white

12.48
#4F1375 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#4F1375 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1375
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1375#FFFFFF#000000##FFFFFF
##4F13751.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f1375;
/* rgb */ color: rgb(79, 19, 117);
/* oklch */ color: oklch(34.4% 0.155 307.6);
Tailwind
colors: {
  custom: {
    50: '#85599e',
    500: '#4f1375',
    950: '#000000',
  },
}
SCSS
$custom: #4f1375;
$custom-light: #85599e;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1375",
  "rgb": {
    "r": 79,
    "g": 19,
    "b": 117
  },
  "hsl": {
    "h": 276.735,
    "s": 72.059,
    "l": 26.667
  },
  "oklch": {
    "l": 0.34443,
    "c": 0.15472,
    "h": 307.6
  },
  "luminance": 0.03412
}

Semantic roles & 50–950 ramp

primary
#4F1375
secondary
#65AB38
accent
#EF397F
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4F1375

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

Preview Lab → · Contrast checker → · Palette generator →

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