#4F2A86#4F2A86

#4F2A86 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.6% C 0.146 H 297.6°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#4F2A86
RGBrgb(79, 42, 134)
HSLhsl(264, 52%, 35%)
HSVhsv(264, 69%, 53%)
CMYKcmyk(41%, 68.7%, 0%, 47.5%)
CIE-LABlab(26.85, 37.63, -45.38)
CIE-LCHlch(26.85, 58.95, 309.67°)
OKLaboklab(38.58% 0.0676 -0.1294)
OKLCHoklch(38.58% 0.146 297.6)
XYZxyz(8.3544, 5.0393, 23.0822)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2A86 #61862A
analogous
#2A3386 #4F2A86 #7D2A86
triadic
#4F2A86 #864F2A #2A864F
tetradic
#4F2A86 #862A33 #61862A #2A867D
square
#4F2A86 #862A33 #61862A #2A867D
split-complementary
#4F2A86 #867D2A #33862A
monochromatic
#180D29 #341B57 #4F2A86 #6A39B5 #8A5ECD

Accessibility & contrast

On white

10.46
#4F2A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#4F2A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2A86
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2A86#FFFFFF#000000##FFFFFF
##4F2A861.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004089
Deuteranopia (green-blind)
#003E84
Tritanopia (blue-blind)
#424054
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4f2a86;
/* rgb */ color: rgb(79, 42, 134);
/* oklch */ color: oklch(38.6% 0.146 297.6);
Tailwind
colors: {
  custom: {
    50: '#8566aa',
    500: '#4f2a86',
    950: '#000000',
  },
}
SCSS
$custom: #4f2a86;
$custom-light: #8566aa;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2a86",
  "rgb": {
    "r": 79,
    "g": 42,
    "b": 134
  },
  "hsl": {
    "h": 264.13,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.3858,
    "c": 0.14603,
    "h": 297.6
  },
  "luminance": 0.05039
}

Semantic roles & 50–950 ramp

primary
#4F2A86
secondary
#8FB25A
accent
#DC4CA2
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4F2A86

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

Preview Lab → · Contrast checker → · Palette generator →

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