#4F2089#4F2089

#4F2089 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.5% C 0.162 H 298.5°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#4F2089
RGBrgb(79, 32, 137)
HSLhsl(267, 62%, 33%)
HSVhsv(267, 77%, 54%)
CMYKcmyk(42.3%, 76.6%, 0%, 46.3%)
CIE-LABlab(25.26, 43.57, -49.83)
CIE-LCHlch(25.26, 66.19, 311.16°)
OKLaboklab(37.53% 0.0774 -0.1425)
OKLCHoklch(37.53% 0.162 298.5)
XYZxyz(8.2552, 4.5013, 24.0960)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2089 #5A8920
analogous
#202689 #4F2089 #832089
triadic
#4F2089 #894F20 #20894F
tetradic
#4F2089 #892026 #5A8920 #208983
square
#4F2089 #892026 #5A8920 #208983
split-complementary
#4F2089 #898320 #268920
monochromatic
#160926 #321457 #4F2089 #6C2CBB #8B4ED6

Accessibility & contrast

On white

11.05
#4F2089 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#4F2089 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2089
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2089#FFFFFF#000000##FFFFFF
##4F20891.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8C
Deuteranopia (green-blind)
#003B87
Tritanopia (blue-blind)
#413B53
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4f2089;
/* rgb */ color: rgb(79, 32, 137);
/* oklch */ color: oklch(37.5% 0.162 298.5);
Tailwind
colors: {
  custom: {
    50: '#8661ac',
    500: '#4f2089',
    950: '#000000',
  },
}
SCSS
$custom: #4f2089;
$custom-light: #8661ac;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2089",
  "rgb": {
    "r": 79,
    "g": 32,
    "b": 137
  },
  "hsl": {
    "h": 266.857,
    "s": 62.13,
    "l": 33.137
  },
  "oklch": {
    "l": 0.37533,
    "c": 0.16214,
    "h": 298.5
  },
  "luminance": 0.04501
}

Semantic roles & 50–950 ramp

primary
#4F2089
secondary
#88B94C
accent
#E5439C
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4F2089

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

Preview Lab → · Contrast checker → · Palette generator →

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