#4F2086#4F2086

#4F2086 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.3% C 0.159 H 299.5°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#4F2086
RGBrgb(79, 32, 134)
HSLhsl(268, 61%, 33%)
HSVhsv(268, 76%, 53%)
CMYKcmyk(41%, 76.1%, 0%, 47.5%)
CIE-LABlab(25.00, 42.78, -48.38)
CIE-LCHlch(25.00, 64.58, 311.48°)
OKLaboklab(37.27% 0.0782 -0.1382)
OKLCHoklch(37.27% 0.159 299.5)
XYZxyz(8.0430, 4.4164, 22.9783)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2086 #578620
analogous
#202486 #4F2086 #822086
triadic
#4F2086 #864F20 #20864F
tetradic
#4F2086 #862024 #578620 #208682
square
#4F2086 #862024 #578620 #208682
split-complementary
#4F2086 #868220 #248620
monochromatic
#150823 #321455 #4F2086 #6C2CB7 #8B4CD4

Accessibility & contrast

On white

11.15
#4F2086 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#4F2086 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2086
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2086#FFFFFF#000000##FFFFFF
##4F20861.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B89
Deuteranopia (green-blind)
#003A84
Tritanopia (blue-blind)
#423A51
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4f2086;
/* rgb */ color: rgb(79, 32, 134);
/* oklch */ color: oklch(37.3% 0.159 299.5);
Tailwind
colors: {
  custom: {
    50: '#8660aa',
    500: '#4f2086',
    950: '#000000',
  },
}
SCSS
$custom: #4f2086;
$custom-light: #8660aa;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2086",
  "rgb": {
    "r": 79,
    "g": 32,
    "b": 134
  },
  "hsl": {
    "h": 267.647,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.37268,
    "c": 0.15877,
    "h": 299.5
  },
  "luminance": 0.04417
}

Semantic roles & 50–950 ramp

primary
#4F2086
secondary
#85B74B
accent
#E5439A
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4F2086

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

Preview Lab → · Contrast checker → · Palette generator →

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