#4F1073#4F1073

#4F1073 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.0% C 0.156 H 308.7°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#4F1073
RGBrgb(79, 16, 115)
HSLhsl(278, 76%, 26%)
HSVhsv(278, 86%, 45%)
CMYKcmyk(31.3%, 86.1%, 0%, 54.9%)
CIE-LABlab(21.10, 44.60, -42.68)
CIE-LCHlch(21.10, 61.73, 316.26°)
OKLaboklab(34.02% 0.0973 -0.1213)
OKLCHoklch(34.02% 0.156 308.7)
XYZxyz(6.5036, 3.2708, 16.5050)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1073 #347310
analogous
#1D1073 #4F1073 #731065
triadic
#4F1073 #734F10 #10734F
tetradic
#4F1073 #731D10 #347310 #106573
square
#4F1073 #731D10 #347310 #106573
split-complementary
#4F1073 #657310 #10731D
monochromatic
#12041B #2A093D #4F1073 #7417A9 #991FDE

Accessibility & contrast

On white

12.69
#4F1073 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#4F1073 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1073
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1073#FFFFFF#000000##FFFFFF
##4F10731.0012.691.6512.69
#FFFFFF12.691.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003076
Deuteranopia (green-blind)
#003371
Tritanopia (blue-blind)
#492B43
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4f1073;
/* rgb */ color: rgb(79, 16, 115);
/* oklch */ color: oklch(34.0% 0.156 308.7);
Tailwind
colors: {
  custom: {
    50: '#85589c',
    500: '#4f1073',
    950: '#000000',
  },
}
SCSS
$custom: #4f1073;
$custom-light: #85589c;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1073",
  "rgb": {
    "r": 79,
    "g": 16,
    "b": 115
  },
  "hsl": {
    "h": 278.182,
    "s": 75.573,
    "l": 25.686
  },
  "oklch": {
    "l": 0.34021,
    "c": 0.15552,
    "h": 308.7
  },
  "luminance": 0.03271
}

Semantic roles & 50–950 ramp

primary
#4F1073
secondary
#5FAA34
accent
#F2367A
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4F1073

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

Preview Lab → · Contrast checker → · Palette generator →

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