#4F1083#4F1083

#4F1083 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.5% C 0.171 H 302.5°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#4F1083
RGBrgb(79, 16, 131)
HSLhsl(273, 78%, 29%)
HSVhsv(273, 88%, 51%)
CMYKcmyk(39.7%, 87.8%, 0%, 48.6%)
CIE-LABlab(22.55, 48.33, -50.50)
CIE-LCHlch(22.55, 69.90, 313.74°)
OKLaboklab(35.48% 0.0919 -0.1443)
OKLCHoklch(35.48% 0.171 302.5)
XYZxyz(7.5055, 3.6715, 21.7816)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1083 #448310
analogous
#161083 #4F1083 #83107E
triadic
#4F1083 #834F10 #10834F
tetradic
#4F1083 #831610 #448310 #107E83
square
#4F1083 #831610 #448310 #107E83
split-complementary
#4F1083 #7E8310 #108316
monochromatic
#10031B #2E094C #4F1083 #7017BA #9029E5

Accessibility & contrast

On white

12.11
#4F1083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#4F1083 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1083
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1083#FFFFFF#000000##FFFFFF
##4F10831.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003586
Deuteranopia (green-blind)
#003581
Tritanopia (blue-blind)
#44324C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4f1083;
/* rgb */ color: rgb(79, 16, 131);
/* oklch */ color: oklch(35.5% 0.171 302.5);
Tailwind
colors: {
  custom: {
    50: '#8659a8',
    500: '#4f1083',
    950: '#000000',
  },
}
SCSS
$custom: #4f1083;
$custom-light: #8659a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1083",
  "rgb": {
    "r": 79,
    "g": 16,
    "b": 131
  },
  "hsl": {
    "h": 272.87,
    "s": 78.231,
    "l": 28.824
  },
  "oklch": {
    "l": 0.35478,
    "c": 0.1711,
    "h": 302.5
  },
  "luminance": 0.03672
}

Semantic roles & 50–950 ramp

primary
#4F1083
secondary
#71B936
accent
#F5338B
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0410
muted
#7D797F

Preview Lab

Preview with #4F1083

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

Preview Lab → · Contrast checker → · Palette generator →

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