#4F2087#4F2087

#4F2087 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.4% C 0.160 H 299.2°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#4F2087
RGBrgb(79, 32, 135)
HSLhsl(267, 62%, 33%)
HSVhsv(267, 76%, 53%)
CMYKcmyk(41.5%, 76.3%, 0%, 47.1%)
CIE-LABlab(25.09, 43.04, -48.86)
CIE-LCHlch(25.09, 65.12, 311.37°)
OKLaboklab(37.36% 0.0779 -0.1396)
OKLCHoklch(37.36% 0.16 299.2)
XYZxyz(8.1130, 4.4445, 23.3474)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2087 #588720
analogous
#202487 #4F2087 #832087
triadic
#4F2087 #874F20 #20874F
tetradic
#4F2087 #872024 #588720 #208783
square
#4F2087 #872024 #588720 #208783
split-complementary
#4F2087 #878320 #248720
monochromatic
#150924 #321456 #4F2087 #6C2CB8 #8B4DD5

Accessibility & contrast

On white

11.12
#4F2087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#4F2087 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2087
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2087#FFFFFF#000000##FFFFFF
##4F20871.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8A
Deuteranopia (green-blind)
#003B85
Tritanopia (blue-blind)
#423B52
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4f2087;
/* rgb */ color: rgb(79, 32, 135);
/* oklch */ color: oklch(37.4% 0.160 299.2);
Tailwind
colors: {
  custom: {
    50: '#8660ab',
    500: '#4f2087',
    950: '#000000',
  },
}
SCSS
$custom: #4f2087;
$custom-light: #8660ab;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2087",
  "rgb": {
    "r": 79,
    "g": 32,
    "b": 135
  },
  "hsl": {
    "h": 267.379,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.37356,
    "c": 0.1599,
    "h": 299.2
  },
  "luminance": 0.04445
}

Semantic roles & 50–950 ramp

primary
#4F2087
secondary
#86B84B
accent
#E5439B
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4F2087

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

Preview Lab → · Contrast checker → · Palette generator →

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