#4F2B86#4F2B86

#4F2B86 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.7% C 0.145 H 297.3°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#4F2B86
RGBrgb(79, 43, 134)
HSLhsl(264, 51%, 35%)
HSVhsv(264, 68%, 53%)
CMYKcmyk(41%, 67.9%, 0%, 47.5%)
CIE-LABlab(27.05, 37.07, -45.05)
CIE-LCHlch(27.05, 58.34, 309.45°)
OKLaboklab(38.73% 0.0664 -0.1285)
OKLCHoklch(38.73% 0.145 297.3)
XYZxyz(8.3903, 5.1111, 23.0941)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2B86 #62862B
analogous
#2B3586 #4F2B86 #7C2B86
triadic
#4F2B86 #864F2B #2B864F
tetradic
#4F2B86 #862B35 #62862B #2B867C
square
#4F2B86 #862B35 #62862B #2B867C
split-complementary
#4F2B86 #867C2B #35862B
monochromatic
#180D29 #341C58 #4F2B86 #6A3AB4 #8A60CC

Accessibility & contrast

On white

10.38
#4F2B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#4F2B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2B86
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2B86#FFFFFF#000000##FFFFFF
##4F2B861.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004089
Deuteranopia (green-blind)
#003F84
Tritanopia (blue-blind)
#424054
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4f2b86;
/* rgb */ color: rgb(79, 43, 134);
/* oklch */ color: oklch(38.7% 0.145 297.3);
Tailwind
colors: {
  custom: {
    50: '#8567aa',
    500: '#4f2b86',
    950: '#000000',
  },
}
SCSS
$custom: #4f2b86;
$custom-light: #8567aa;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2b86",
  "rgb": {
    "r": 79,
    "g": 43,
    "b": 134
  },
  "hsl": {
    "h": 263.736,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.38726,
    "c": 0.14465,
    "h": 297.3
  },
  "luminance": 0.05111
}

Semantic roles & 50–950 ramp

primary
#4F2B86
secondary
#8FB25B
accent
#DB4DA3
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4F2B86

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

Preview Lab → · Contrast checker → · Palette generator →

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